Im trying to download mysql database "dbproducts1" which is residing in my webhost's server (Linux).
From telnet i backed up using "mysqldump -u -p dbproducts1 > dbproducts1.sql"
Then i downloaded this file via ftp to my local pc(WinXP). Now on my local pc to restore database i went to command prompt and i did following:
mysql -u -p dbproducts1 < dbproducts1.sql
I got following error:
ERROR 1064 (42000) at line 380: You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right syntax to use
near '-workshop (
title varchar(250) NOT NULL default '',
decription longtext NOT ' at line 1
I opened the phpmyadmin and found that dbproducts1 database was restored but with only few tables i.e. not all tables in the db was restored.
Can somebody please help me to backup/restore this database. I checked the mysql server version and found following:
server version: 5.0.24a-community in my local winxp pc
server version: 3.23.36 in my webhost's server (Linux)
From telnet i backed up using "mysqldump -u -p dbproducts1 > dbproducts1.sql"
Then i downloaded this file via ftp to my local pc(WinXP). Now on my local pc to restore database i went to command prompt and i did following:
mysql -u -p dbproducts1 < dbproducts1.sql
I got following error:
ERROR 1064 (42000) at line 380: You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right syntax to use
near '-workshop (
title varchar(250) NOT NULL default '',
decription longtext NOT ' at line 1
I opened the phpmyadmin and found that dbproducts1 database was restored but with only few tables i.e. not all tables in the db was restored.
Can somebody please help me to backup/restore this database. I checked the mysql server version and found following:
server version: 5.0.24a-community in my local winxp pc
server version: 3.23.36 in my webhost's server (Linux)