diff --git a/community-mysql.spec b/community-mysql.spec index 3e6dba6..df3cf6d 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -940,6 +940,7 @@ fi * Mon Feb 23 2015 Honza Horak - 5.6.23-3 - Expand paths in perl scripts in mysql-test - Use correct path in install_db script warning +- Use --no-defaults when checking server status before starting * Thu Jan 29 2015 Bjorn Munch - 5.6.23-1 - Update to MySQL 5.6.23, for various fixes described at diff --git a/mysql.init.in b/mysql.init.in index be34fbf..475fa72 100644 --- a/mysql.init.in +++ b/mysql.init.in @@ -53,7 +53,7 @@ start(){ MYSQLDRUNNING=1 fi fi - RESPONSE=`@bindir@/mysqladmin --socket="$socketfile" --user=UNKNOWN_MYSQL_USER ping 2>&1` + RESPONSE=`@bindir@/mysqladmin --no-defaults --socket="$socketfile" --user=UNKNOWN_MYSQL_USER ping 2>&1` if [ $MYSQLDRUNNING = 1 ] && [ $? = 0 ]; then # already running, do nothing action $"Starting $prog: " /bin/true