Skip to content

Instantly share code, notes, and snippets.

@phlegx
Created July 11, 2012 09:23
Show Gist options
  • Save phlegx/3089259 to your computer and use it in GitHub Desktop.
Save phlegx/3089259 to your computer and use it in GitHub Desktop.
mysql --user=root --password=xxx -Bse "select CONCAT('ALTER TABLE ', table_schema,'.', table_name,' ENGINE=NDBCLUSTER;') from information_schema.tables where table_schema='tchv2';" | mysql --user=root --password=xxx
ERROR 157 (HY000) at line 1: Could not connect to storage engine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment