dank
06-07-2001, 02:57 AM
I'm getting the following error no matter what format I try for mysqldump:
ERROR 1064:[nbsp][nbsp]You have an error in your SQL syntax near ... at line 1
I've tried every format under the sun (despite it being dark out) to no avail.
mysqldump -uxUSERNAME -p --add-drop-table xDATABASE > data.txt;
mysqldump -uxUSERNAME -p --add-drop-table xDATABASE > ./data.txt;
mysqldump -uxUSERNAME -p --add-drop-table xDATABASE >./data.txt;
mysqldump -uxUSERNAME -p xDATABASE >./data.txt;
mysqldump xDATABASE >./data.txt;
mysqldump --opt -uxUSERNAME -p -hmysql01.FutureQuest.net xDATABASE >./data.txt;
mysqldump -uxUSERNAME -p -hmysql.run-down.com xDATABASE >./data.txt;
mysqldump -uxUSERNAME -p -hmysql01 xDATABASE >./data.txt;
(substituting the username and database where noted, of course) and at least another dozen variations.[nbsp][nbsp]According to the following pages, at least one of those ought to work...
http://www.aota.net/PHP_and_MySQL/mysqldump.php3
http://www.aota.net/ubb/Forum15/HTML/000507-1.html
http://www.aota.net/ubb/Forum15/HTML/000354-1.html
I've used mysqldump before without trouble (as I recall), but this one is kicking my butt.[nbsp][nbsp]Any insight would be appreciated.
Dfeated
edit:[nbsp][nbsp]this is through telnet.
edited again for bleary eyed grammatical and spelling errors...
[This message has been edited by dank (edited 06-07-01@02:06 am)]
ERROR 1064:[nbsp][nbsp]You have an error in your SQL syntax near ... at line 1
I've tried every format under the sun (despite it being dark out) to no avail.
mysqldump -uxUSERNAME -p --add-drop-table xDATABASE > data.txt;
mysqldump -uxUSERNAME -p --add-drop-table xDATABASE > ./data.txt;
mysqldump -uxUSERNAME -p --add-drop-table xDATABASE >./data.txt;
mysqldump -uxUSERNAME -p xDATABASE >./data.txt;
mysqldump xDATABASE >./data.txt;
mysqldump --opt -uxUSERNAME -p -hmysql01.FutureQuest.net xDATABASE >./data.txt;
mysqldump -uxUSERNAME -p -hmysql.run-down.com xDATABASE >./data.txt;
mysqldump -uxUSERNAME -p -hmysql01 xDATABASE >./data.txt;
(substituting the username and database where noted, of course) and at least another dozen variations.[nbsp][nbsp]According to the following pages, at least one of those ought to work...
http://www.aota.net/PHP_and_MySQL/mysqldump.php3
http://www.aota.net/ubb/Forum15/HTML/000507-1.html
http://www.aota.net/ubb/Forum15/HTML/000354-1.html
I've used mysqldump before without trouble (as I recall), but this one is kicking my butt.[nbsp][nbsp]Any insight would be appreciated.
Dfeated
edit:[nbsp][nbsp]this is through telnet.
edited again for bleary eyed grammatical and spelling errors...
[This message has been edited by dank (edited 06-07-01@02:06 am)]