aboutsummaryrefslogtreecommitdiff
path: root/build/mysql
diff options
context:
space:
mode:
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
;;