summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorlenz@mysql.com <>2003-02-05 12:22:28 +0100
committerlenz@mysql.com <>2003-02-05 12:22:28 +0100
commitff15b200f99a01e5c0aa650862f44e2f8b2f3574 (patch)
treea3c8d1bec5cd0a846b31b3328d28d35714758d14 /scripts
parent1454f356405301cb6e562aea050b5d8ab0f0bac6 (diff)
downloadmariadb-git-ff15b200f99a01e5c0aa650862f44e2f8b2f3574.tar.gz
- 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)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysqlhotcopy.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/mysqlhotcopy.sh b/scripts/mysqlhotcopy.sh
index b8d4a0a9a38..1a694247461 100644
--- a/scripts/mysqlhotcopy.sh
+++ b/scripts/mysqlhotcopy.sh
@@ -49,8 +49,9 @@ 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
- -h, --host=# Hostname for local server when connecting over TCP/IP
+ -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=#