Specifying username and password

suggest change
> mysqldump -u username -p [other options]
Enter password:

If you need to specify the password on the command line (e.g. in a script), you can add it after the -p option without a space:

> mysqldump -u username -ppassword [other options]

If your password contains spaces or special characters, escape them for your shell.

Optionally the extended form is:

> mysqldump --user=username --password=password [other options]

(Putting the password on the command line is not recommended. Other users can see it in the process list.)

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents