Hi Ben,
You need to run mysqldump command in the unix shell prompt, NOT in mysql
shell.
See: http://www.mysql.com/doc/m/y/mysqldump.html

Gurhan

-----Original Message-----
From: Ben Ocean [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 11:45 AM
To: [EMAIL PROTECTED]
Subject: MySQLDump


Hi;
I can't get a dump of a database! I'm in as every user I have and get this:

mysql> mysqldump --databases nwhotspring > a.a;
ERROR 1064: You have an error in your SQL syntax near 'mysqldump
--databases nwhotspring > a.a' at line 1

I can't even run mysqldump --help without getting that error! What am I
doing wrong?
TIA,
BenO



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to