summaryrefslogtreecommitdiff
path: root/scripts/mysql_install_db.sh
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-06-10 16:44:39 +0300
committerunknown <monty@mysql.com>2004-06-10 16:44:39 +0300
commit43f0418d330656667420398a2bd14c3ac42b3617 (patch)
tree4641d541e7aceea04656a42a40f07fa3c76794df /scripts/mysql_install_db.sh
parent956d4f4e4eedab6151c5e70155bc4f0cd54305f3 (diff)
downloadmariadb-git-43f0418d330656667420398a2bd14c3ac42b3617.tar.gz
After merge fix
scripts/mysql_install_db.sh: Cleanup
Diffstat (limited to 'scripts/mysql_install_db.sh')
-rw-r--r--scripts/mysql_install_db.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index 931c8f21a92..600a87328cb 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -37,10 +37,11 @@ parse_arguments() {
--force) force=1 ;;
--basedir=*) basedir=`echo "$arg" | sed -e 's/^[^=]*=//'` ;;
--ldata=*|--datadir=*) ldata=`echo "$arg" | sed -e 's/^[^=]*=//'` ;;
- --user=*) user=`echo "$arg" | sed -e 's/^[^=]*=//'` ;;
- # Note that this will be passed to mysqld so that it runs
- # as 'user' (crucial e.g. if log-bin=/some_other_path/
- # where a chown of datadir won't help)
+ --user=*)
+ # Note that the user will be passed to mysqld so that it runs
+ # as 'user' (crucial e.g. if log-bin=/some_other_path/
+ # where a chown of datadir won't help)
+ user=`echo "$arg" | sed -e 's/^[^=]*=//'` ;;
--skip-name-resolve) ip_only=1 ;;
--verbose) verbose=1 ;;
--rpm) in_rpm=1 ;;