diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-15 06:36:59 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-15 06:36:59 (GMT) |
commit | 7309564d9f5afd0d6ef985f1eecb678c8fe7cf0d (patch) | |
tree | 147675f5690e2934e4ef6dd9bf626012a8f470b8 /abs/core-testing/mysql/mysqld | |
parent | d4c430a738c65537924be978549bf4bf311abe6b (diff) | |
download | linhes_pkgbuild-7309564d9f5afd0d6ef985f1eecb678c8fe7cf0d.zip linhes_pkgbuild-7309564d9f5afd0d6ef985f1eecb678c8fe7cf0d.tar.gz linhes_pkgbuild-7309564d9f5afd0d6ef985f1eecb678c8fe7cf0d.tar.bz2 |
Updated MySQL. Initial lcdproc intro.
Diffstat (limited to 'abs/core-testing/mysql/mysqld')
-rwxr-xr-x | abs/core-testing/mysql/mysqld | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/abs/core-testing/mysql/mysqld b/abs/core-testing/mysql/mysqld index 7621ac1..843397e 100755 --- a/abs/core-testing/mysql/mysqld +++ b/abs/core-testing/mysql/mysqld @@ -22,21 +22,16 @@ if [ ! `egrep '^mysql:' /etc/passwd` ]; then fi if [ ! -d $MYSQLD_ROOT ]; then - mkdir -p $MYSQLD_ROOT 2> /dev/null - /usr/bin/mysql_install_db --datadir=$MYSQLD_ROOT --user=mysql 2>/dev/null > /dev/null + mkdir $MYSQLD_ROOT + /usr/bin/mysql_install_db --datadir=$MYSQLD_ROOT --user=mysql chown -R mysql.mysql $MYSQLD_ROOT fi -if [ ! -e /var/log/mysqld.log ]; then - touch /var/log/mysqld.log - chown mysql /var/log/mysqld.log -fi - case "$1" in start) stat_busy "Starting MySQL" if [ -z "$PID" ]; then - /usr/bin/mysqld_safe --skip-name-resolve --datadir=$MYSQLD_ROOT 2>/dev/null >/dev/null & + /usr/bin/mysqld_safe --datadir=$MYSQLD_ROOT &>/dev/null & if [ $? -gt 0 ]; then stat_fail exit 1 |