RE: [PHP-DB] backing up database with mysqldump
| From: | dpgirago at mdanderson dot org | Date: | Mon, 25 Oct 2004 19:10:23 +0000 |
| Subject: | RE: [PHP-DB] backing up database with mysqldump | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-37009@lists.php.net to get a copy of this message | ||
C:\>mysqldump -uadministrator -p test > test.sql
Enter password: **************
"Perry, Matthew (Fire Marshal's Office)" <Matthew.Perry@fmo.hctx.net>
10/25/2004 01:53 PM
To:
php-db@lists.php.net
cc:
Subject:
RE: [PHP-DB] backing up database with mysqldump
How do I provide a password?
I have been trying -p password[mypass] mysqldump sampledb >
./backup/file.txt
-Matt
_____
From: dpgirago@mdanderson.org [mailto:dpgirago@mdanderson.org]
Sent: Monday, October 25, 2004 11:24 AM
To: Perry, Matthew (Fire Marshal's Office)
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] backing up database with mysqldump
MySQLdump is an executable program.
From the command line:
C:\>mysqldump databasename > ./path/to/backup/file.sql (or file.txt )
C:\>mysqldump --help
gives all the options
dave
"Perry, Matthew (Fire Marshal's Office)" <Matthew.Perry@fmo.hctx.net>
10/25/2004 11:14 AM
To:
php-db@lists.php.net
cc:
Subject:
[PHP-DB] backing up database with mysqldump
I have attempted to follow the documentation for mysqldump both on
mysql.com
and previous emails to this list server. Unfortunately none of the advice
has helped me successfully backup my database. I have been spoiled by
phpmyadmin backup procedures and have never had to manually set up a
backup
system for a local server.
From shell> what should I enter tot to backup my database called "sampdb"
to
a location "c:/backups"?
Everything I have tried spits out an error message.
-Matt