RE: mysqldump
| From: | Uttam | Date: | Fri, 28 Feb 2003 04:21:55 +0000 |
| Subject: | RE: mysqldump | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137518@lists.php.net to get a copy of this message | ||
snip from manual for -p option:
|-------------
-p[password], --password[=...]
Password to use when connecting to server. If a password is not given on the
command line, you will be prompted for it. Note that if you use the short
form -p you can't have a space between the option and the password.
-------------|
regds,
-----Original Message-----
From: Niels Andersen [mailto:haj@zhat.dk]
Sent: Thursday, February 27, 2003 16:09
To: php-general@lists.php.net
Subject: Re: mysqldump
There mey, but need not be a space. As far as I know, the option scanner
in
mysqldump ignores spaces between short options and their values.
"John Taylor-Johnston" <taylorjo@collegesherbrooke.qc.ca> wrote in
message
news:3E5D9A54.BE73BD4A@collegesherbrooke.qc.ca...
> Thanks!
>
> > exec("mysqldump -c -q database -u user -ppassword", $sql);
>
> Why is there no space between the -p and password?
>
> >-ppassword
>
> Am I wrong?
>
> Thanks,
> John
>