From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 22:32:51 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D85A106568E for ; Thu, 2 Oct 2008 22:32:51 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id C5C5B8FC21 for ; Thu, 2 Oct 2008 22:32:50 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from adsl-89-217-215-4.adslplus.ch ([89.217.215.4] helo=gahrtop.gahr.ch) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KlWj2-0001iJ-Qe; Fri, 03 Oct 2008 00:32:48 +0200 Message-ID: <48E54BEF.4010608@FreeBSD.org> Date: Fri, 03 Oct 2008 00:32:15 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: Brad Mettee References: <48E500EC.9010100@gmail.com> <48E500EC.9010100@gmail.com> <4.3.2.7.2.20081002143717.0377a950@mail.pchotshots.com> In-Reply-To: <4.3.2.7.2.20081002143717.0377a950@mail.pchotshots.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: questions@freebsd.org Subject: Re: Mysqldump password issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 22:32:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Brad Mettee wrote: | Shouldn't there be a space between -p and the password? Like this: | | mysqldump -u user -p passwd --all-databases > backup.sql ~From the man page: The password to use when connecting to the server. If you use the short option form (-p), you cannot have a space between the option and the password. If you omit the password value following the - --password or -p option on the command line, you are prompted for one. | | At 02:34 PM 10/2/2008, you wrote: | 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 | | | | | | _______________________________________________ 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. | _______________________________________________ | 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" - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkjlS+4ACgkQwMJqmJVx9471cgCguT2IPIG/o1mJVpGwgfJlYWS/ EBoAn3+nAjiehzJ/YX8BhcPjj7xaz2ZW =Spnn -----END PGP SIGNATURE-----