Commit ff15b200 authored by lenz@mysql.com's avatar lenz@mysql.com

- added word of warning about providing the password as cleartext using

   the --password parameter (better add it to my.cnf instead) (Thanks to
   Christian Hammers for the suggestion)
parent 1454f356
......@@ -49,7 +49,8 @@ Usage: $0 db_name[./table_regex/] [new_db_name | directory]
-?, --help display this helpscreen and exit
-u, --user=# user for database login if not current user
-p, --password=# password to use when connecting to server
-p, --password=# password to use when connecting to server (if not set
in my.cnf, which is recommended)
-h, --host=# Hostname for local server when connecting over TCP/IP
-P, --port=# port to use when connecting to local server with TCP/IP
-S, --socket=# socket to use when connecting to local server
......@@ -893,7 +894,11 @@ user for database login if not current user
=item -p, --password=#
password to use when connecting to server
password to use when connecting to the server. Note that you are strongly
encouraged *not* to use this option as every user would be able to see the
password in the process list. Instead use the '[mysqlhotcopy]' section in
one of the config files, normally /etc/my.cnf or your personal ~/.my.cnf.
(See the chapter 'my.cnf Option Files' in the manual)
=item -h, -h, --host=#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment