Re: MySQL Table backup
| From: | Adam Voigt | Date: | Mon, 09 Dec 2002 15:37:25 +0000 |
| Subject: | Re: MySQL Table backup | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127508@lists.php.net to get a copy of this message | ||
Your not trying to run that from within MySQL are you?
You do know that mysqldump is an entirely seperate command then the
mysql
console (where you would for instance type, USE DB; SELECT blah FROM
table) right?
On Mon, 2002-12-09 at 10:26, Shaun wrote:
thanks for the reply,
but that didn't help
ERROR 1064: You have an error in your SQL syntax near 'mysqldump -h
localhost -u xxx -p xxx backup.sql' at line 1
any ideas?
"Adam Voigt" <adam@cryptocomm.com> wrote in message
news:1039447164.14254.5.camel@beowulf.cryptocomm.com...
Take off the " > backup.sql" and see if you get any error's
that might explain it.
On Mon, 2002-12-09 at 10:07, Shaun wrote:
Hi,
I am trying to backup my database can someone please tell me why the
following commande wont work?
mysqldump -h localhost -u username -p databasename > backup.sql
thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam Voigt (adam@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam Voigt (adam@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc