Hi,
I'm developing a database application that uses numeric databases. At
this point not using numeric databases is not an option. Doing a
mysqldump works. However when trying to restore the database with
"mysql -u root -psecret < backup.sql" gives the following error
message:
ERROR 1064 at line 11: You have an error in your SQL syntax near
'123456789' at line 1
Line 1 has the following line:
CREATE DATABASE /*!32312 IF NOT EXISTS*/ 123456789;
I know this will generate an error. The correct syntax would be:
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `123456789`;
How can I use mysqldump and restore to work properly with numeric
databases?
Thanks for your help.
Raffi