MySQL Dump

MySQL Dump

am 14.05.2007 11:41:00 von Gustav Wiberg

Hi!
=20
Trying to figure out mysqldump. How would i type to making a backup of a da=
tabase with specific username and password with mysqldump?
=20
I've tryed making a backup-schema through MySQL Administrator but there it =
says... Wrong password. I've changed the password type to Obscure but it do=
esn't seem to matter.
=20
Best regards
/Gustav Wiberg

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: MySQL Dump

am 14.05.2007 11:49:13 von php

mysqldump -uusername -ppassword database > output.file

or
mysqldump -uusername -p database > output.file
which lets you specify the password cloaked right after you've hit enter.

Remember, no spaces between -u and the username or -p and the password.

Mike


Gustav Wiberg skrev:
> Hi!
>
> Trying to figure out mysqldump. How would i type to making a backup of a database with specific username and password with mysqldump?
>
> I've tryed making a backup-schema through MySQL Administrator but there it says... Wrong password. I've changed the password type to Obscure but it doesn't seem to matter.
>
> Best regards
> /Gustav Wiberg
>
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php