X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=util%2Fconvert_innodb.sql;h=7f3d99a4da43f6932b493c0029e1db03fa58c3b8;hb=fec2f8fd8259db66d5dcf700e8e855acad596d1b;hp=6b065f3b25067236972217ab6ae6a947700fcb6c;hpb=59c12db020e9e14fcf8b96cffa5c76ac181e3571;p=friendica.git diff --git a/util/convert_innodb.sql b/util/convert_innodb.sql index 6b065f3b25..7f3d99a4da 100644 --- a/util/convert_innodb.sql +++ b/util/convert_innodb.sql @@ -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%';