phpMyAdmin/Mysql
Apparently there is an 'export' bug in some versions of mySql when allocating a database column to be 'auto increment'
When trying to import the table information locally OR back to the remote after exporting it using phpMyAdmin an error ocurrs and no table is created, just an error message:
MySQL said: Documentation
#1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key
Just wondering if anyone else has encounterd this error and how they were exporting the data in such circumstances.
I've been told by the host that I can use 'mysqldump':
mysqldump -u<database_username> -p<database_password> database_name > file_name.sql
How do you go about using that in a 'remote' situation. If I insert the above in the mysql tab in phpMyAdmin and hit go it just flags up an error message.
I can alter the .sql file after it has been exported BUT surely there must be a way of exporting the data correctly without having to doing that?
Thanks
Os
