Hi Guys,
Today I was importing my wordpress database (from shared hosting) to my new VPS having nginx, mysql and php on Ubuntu 11.10
I ftp'd my wordpress database(
wp_db.sql) to my VPS and then I cd'd into the directory containing the
wp_db.sql, now I created a new database in mysql named
wordpress using phpmyadmin and then I ran the following command to import
wp_db.sql into
wordpress database:
Code:
mysql -u root -p wordpress < wp_db.sql
I was prompted for password which I entered and got the following error:
Quote:
ERROR 1064 (42000) at line 1: 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 'mysql Ver 14.14 Distrib 5.1.63, for debian-linux-gnu (i686) using readline 6.2
' at line 1
|
I don't know what syntax problem is causing this error, I tried many versions of the above command but everytime I get the same error
Please Help
Thanks