]> git.mxchange.org Git - friendica.git/blobdiff - util/convert_innodb.sql
config tool needed some touch up to work again
[friendica.git] / util / convert_innodb.sql
index 6b065f3b25067236972217ab6ae6a947700fcb6c..7f3d99a4da43f6932b493c0029e1db03fa58c3b8 100644 (file)
@@ -1,4 +1,6 @@
-
+#  script to convert tables from MyISAM to InnoDB
+#  change the %PLACEHOLDER% to the actual name of your Friendica DB
 SELECT CONCAT('ALTER TABLE ',table_schema,'.',table_name,' engine=InnoDB;') 
 FROM information_schema.tables 
-WHERE engine = 'MyISAM';
+WHERE engine = 'MyISAM' AND  `table_schema` = '%PLACEHOLDER%';