Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Oct 2008 14:38:32 -0400
From:      Brad Mettee <bmettee@pchotshots.com>
To:        questions@freebsd.org
Subject:   Re: Mysqldump password issue
Message-ID:  <4.3.2.7.2.20081002143717.0377a950@mail.pchotshots.com>
In-Reply-To: <48E51421.2040407@FreeBSD.org>
References:  <48E500EC.9010100@gmail.com> <48E500EC.9010100@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Shouldn't there be a space between -p and the password? Like this:

         mysqldump -u user -p passwd --all-databases > backup.sql

At 02:34 PM 10/2/2008, you wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA512
>
>Andrei Brezan wrote:
>| Hello list,
>|
>| I wanna do a
>| mysqldump -u user -ppasswd --all-databases > backup.sql
>|
>| and all I get is
>| mysqldump: No match.
>|
>| This happens either i put --all-databases or I specify any of the
>| databases. I want to do a backup as user root, that's why I use
>| all-databases opt.
>|
>| If I use the command:
>| mysqldump -u root -p --all-databases >backup.sql
>| I get the password prompt, I type the passwd and everythig works great.
>| It seems that there is a problem with -p, i've tried --password with
>| same result.
>|
>| If anyone has any ideea please let me know about it.
>| I mention that i use Freebsd 7_0 and mysql 5.0.67
>
>Same MySQL version here, but running CURRENT. Everything works fine..
>
>|
>| Thank you
>|
>|
>
>
>- --
>Pietro Cerutti
>gahr@FreeBSD.org
>
>PGP Public Key:
>http://gahr.ch/pgp
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v2.0.9 (FreeBSD)
>
>iEYEAREKAAYFAkjlFCAACgkQwMJqmJVx947dzgCgmOM46RQWS+lTEHXHd/wXkZUX
>Uz8AoJEkwynwlaH9rMjRxgp7Xvja82M1
>=On8Y
>-----END PGP SIGNATURE-----
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


         Brad Mettee
         PC HotShots, Inc.
         Baltimore, MD
         (410) 426-7617

      -> Let us bring out the *Power* of your PCs. <-
-> Custom Business Software Solutions since 1991 <-

visit http://www.pchotshots.com for information about our company.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.2.20081002143717.0377a950>