Hi,
I'm transferring a site from an old server to a new server and am having trouble importing the database to the new server via SSH. When I import, I get the following error:
Checking Google, someone else had the same problem as me (https://stackoverflow.com/questions...cant-create-table-errno-140-wrong-create-opti) and they solved it by adding the following to their my.ini file:
I tried adding this to both /etc/my.cnf & /usr/local/directadmin/conf/my.cnf but it didn't work. I still keep getting this error when I try and import the database to the new server.
Another suggestion on the other persons page was to remove ROW_FORMAT = DYNAMIC from the phpmyadmin import script but I can't use phpmyadmin as the database is too big for phpmyadmin and needs to be done by SSH.
Any other know a solution?
Thanks a lot
I'm transferring a site from an old server to a new server and am having trouble importing the database to the new server via SSH. When I import, I get the following error:
Code:
ERROR 1005 (HY000) at line 3755: Can't create table `let7_mag5`.`catalog_product_relation` (errno: 140 "Wrong create options")
Checking Google, someone else had the same problem as me (https://stackoverflow.com/questions...cant-create-table-errno-140-wrong-create-opti) and they solved it by adding the following to their my.ini file:
Code:
innodb_file_format = Barracuda # For dynamic and compressed InnoDB tables
I tried adding this to both /etc/my.cnf & /usr/local/directadmin/conf/my.cnf but it didn't work. I still keep getting this error when I try and import the database to the new server.
Another suggestion on the other persons page was to remove ROW_FORMAT = DYNAMIC from the phpmyadmin import script but I can't use phpmyadmin as the database is too big for phpmyadmin and needs to be done by SSH.
Any other know a solution?
Thanks a lot