summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mysql/mysqld
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-13 16:02:55 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-13 16:02:55 (GMT)
commit408fa0a3e9778076630c9f310bbd37240ba7e37f (patch)
tree2bdc389cce32e2fce2c55c47b468c4c2a46bbd9e /abs/core-testing/mysql/mysqld
parent1862c1b11587bc47f9b3e4bd47c999ff0bf83525 (diff)
downloadlinhes_pkgbuild-408fa0a3e9778076630c9f310bbd37240ba7e37f.zip
linhes_pkgbuild-408fa0a3e9778076630c9f310bbd37240ba7e37f.tar.gz
linhes_pkgbuild-408fa0a3e9778076630c9f310bbd37240ba7e37f.tar.bz2
stop the error about can't create the mysql data dir on boot
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