In reply to:
you forgot the host in your second command
Ok, I'll give it a shot again.
In reply to:
As for the error, there's something in your dump file it's not liking. Your first post said ' at line 1'. Is that where the error is? Normally line 1 is just comments...
Yes, the first 17 lines are all comments. Here's line 1.
# phpMyAdmin MySQL-Dump
My assumption was that when MySQL complained about line 1, it was actually referring to the command I had just run.
Edit: Yep, I have verified it has to be my syntax used in the SSH session. I ran the command:
mysql -u DBUSER -p DBHOST.HOST.net DBNAME < /home/USER/DUMPFILE.sql
and get the same error. Then I made garbage changes to the path and file name, and got the exact same complaint:
"ERROR 1064 (42000): 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 -u DBUSER -p DBHOST.HOST.net DBNAME < /home/USER/DUMPFILE.sql' at line 1"
I've been told elsewhere to remove the space between -u and DBUSER but I get the same results.Edited by silurius on 06/07/05 11:06 AM (server time).