Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 13, 20168 yr Hi, m8s, I tried to change the storage engine to InnoDB of my tables, but some of my tables are large and it returns 500 error. Does anyone know how to do it by 1000 lines per round? ALTER TABLE core_search_index ENGINE=InnoDB; Thanks!
June 13, 20168 yr 500 error? are you doing this through the SQL Toolbox or something else? I personally use mySQL Workbench to get stuff done; easier than having to worry about timeouts or various other webserver errors.
September 12, 20204 yr what is SSH (command line) code for this???? I have same problem I have access to command line but i need to know what code to run? Thanks
September 12, 20204 yr what is SSH (command line) code for this???? I have same problem I have access to command line but i need to know what code to run? Thanks ALTER TABLE databasename.tablename ENGINE=InnoDB;
September 13, 20204 yr I was able to convert all my myisam tables to innoDB Here is a complete code for ssh mysql -u [username] -p Enter your password. Again, without the brackets, enter the command: use [databasename]; Enter the command: show tables; The run this: alter table [table_name] ENGINE=InnoDB;
October 3, 20204 yr Community Expert Is it safe to upgrade to InnoDB from Myisam? Yes, it is safe. However, make a backup of your database before the conversion.
October 5, 20204 yr Is it safe to upgrade to InnoDB from Myisam? Yes and it's strongly recommended. That said, you may wish to verify with your webhost that their MySQL configuration is optimized for InnoDB.
October 5, 20204 yr Yes it is safe, but I went thru some problems... Here is one of them Quote 2020-09-18 9:23:28 0 [ERROR] InnoDB: (Duplicate key) writing word node to FTS auxiliary index table. and i fixed it. I have repaired the DB using mysqlchecks
January 6, 20214 yr Is it safe to upgrade to InnoDB from Myisam? I needed to transfer tables from innoDB to myISAM, no problems were found.
February 6, 20214 yr https://www.percona.com/doc/percona-toolkit/3.0/pt-online-schema-change.html You should use pt-osc if you don't want to take downtime while doing this.