aboutsummaryrefslogtreecommitdiff
path: root/build/mysql
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-13 15:08:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-13 15:08:01 +0200
commitec8ce55942fd4a978be36aa14e4efcf804c908ce (patch)
tree53f16f3b0f7b145c26c614cd51a819a2d7a4739f /build/mysql
parent3fe2f0f8570ad9b6db2a550d2c313e5367e61fd1 (diff)
Make test options consistent with MySQL
Diffstat (limited to 'build/mysql')
-rwxr-xr-xbuild/mysql/configure4
-rwxr-xr-xbuild/mysql/mysql4
2 files changed, 4 insertions, 4 deletions
diff --git a/build/mysql/configure b/build/mysql/configure
index c1d6382..a454fc0 100755
--- a/build/mysql/configure
+++ b/build/mysql/configure
@@ -60,10 +60,10 @@ drv=$dcf_root/db-driver
echo "--user '$user'" >$opt
if [ "$passwd" != "NULL" ]; then
-echo "--passwd '$passwd'" >>$opt
+echo "--password '$passwd'" >>$opt
fi
-echo "--db-name '$db'" >>$opt
+echo "--database '$db'" >>$opt
echo "--host '$host'" >>$opt
echo "--port $port" >>$opt
diff --git a/build/mysql/mysql b/build/mysql/mysql
index 766e580..c273d56 100755
--- a/build/mysql/mysql
+++ b/build/mysql/mysql
@@ -19,11 +19,11 @@ while [ $# -gt 0 ]; do
opt="$opt --user=$2"
shift 2
;;
- --passwd)
+ --password)
opt="$opt --password=$2"
shift 2
;;
- --db-name)
+ --database)
opt="$opt --database=$2"
shift 2
;;