1
0
Fork 0
friendica_2020-09-1_sharedH.../util/convert_innodb.sql

7 lines
293 B
MySQL
Raw Normal View History

2016-12-09 16:43:40 +01:00
# script to convert tables from MyISAM to InnoDB
# change the %PLACEHOLDER% to ythe actual name of your Friendica DB
SELECT CONCAT('ALTER TABLE ',table_schema,'.',table_name,' engine=InnoDB;')
FROM information_schema.tables
2016-12-09 16:43:40 +01:00
WHERE engine = 'MyISAM' AND `table_schema` = '%PLACEHOLDER%';