Quantcast
Channel: MySQL Forums - Backup
Viewing all articles
Browse latest Browse all 537

Problem Backup with Automatic Password - mysqldump (2 replies)

$
0
0
Group

See who could help me in doubt below:

a) What could be going on in my routine mysql back up, because when I leave the password blank it asks for a password and it works without any problems.

c:\progra~1\mysql\mysqls~1.1\bin\mysqldump.exe -h 127.0.0.1 -u root -p --hex-blob --databases projeto > c:\bak_sis\backup\projeto.sql

b) But when I put the password, it does not work, giving the following message below.

c:\progra~1\mysql\mysqls~1.1\bin\mysqldump.exe -h 127.0.0.1 -u root -pgf%nm$kj@2 --hex-blob --databases projeto > c:\bak_sis\backup\projeto.sql


Usage: mysqldump [OPTIONS] database [tables]
OR mysqldump [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3 ...]
OR mysqldump [OPTIONS] --all-databases [OPTIONS]
For more options, use mysqldump --help

Viewing all articles
Browse latest Browse all 537

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>