summaryrefslogtreecommitdiff
path: root/scripts/mysqlhotcopy.sh
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-02-10 18:01:29 +0200
committerunknown <monty@mashka.mysql.fi>2003-02-10 18:01:29 +0200
commit363fd89b92de2fc58e7910f7a27684308656ebda (patch)
treed977a5ffe2470f063019a9956fa890fab52c2899 /scripts/mysqlhotcopy.sh
parent96273457dd172291892b279c420a770e64e0a5a3 (diff)
parentee189173cbd26b80bfa1236473f954f49680f2fc (diff)
downloadmariadb-git-363fd89b92de2fc58e7910f7a27684308656ebda.tar.gz
merge
BitKeeper/etc/ignore: auto-union BitKeeper/deleted/.del-configure.in~ac795a92c8fe049c: Auto merged include/my_sys.h: Auto merged mysql-test/mysql-test-run.sh: Auto merged mysql-test/t/count_distinct.test: Auto merged sql/ha_innodb.cc: Auto merged sql/item_sum.cc: Auto merged sql/sql_acl.cc: Auto merged
Diffstat (limited to 'scripts/mysqlhotcopy.sh')
-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=#