summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mysql/mysqld
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/mysql/mysqld')
-rwxr-xr-xabs/core-testing/mysql/mysqld2
1 files changed, 1 insertions, 1 deletions
diff --git a/abs/core-testing/mysql/mysqld b/abs/core-testing/mysql/mysqld
index e7f90d2..8fd1b6c 100755
--- a/abs/core-testing/mysql/mysqld
+++ b/abs/core-testing/mysql/mysqld
@@ -22,7 +22,7 @@ if [ ! `egrep '^mysql:' /etc/passwd` ]; then
fi
if [ ! -d $MYSQLD_ROOT ]; then
- mkdir $MYSQLD_ROOT
+ mkdir -p $MYSQLD_ROOT 2> /dev/null
/usr/bin/mysql_install_db --datadir=$MYSQLD_ROOT --user=mysql 2>/dev/null > /dev/null
chown -R mysql.mysql $MYSQLD_ROOT
fi