Thank you.
It's a problem of the service init script (mysql.server.sh).
While mysqld_safe handles both dash and underscore in the options that it reads from the server config, the service script does not:
mysql.server.sh
|
...
|
--log-basename=*|--hostname=*|--loose-log-basename=*)
|
mysqld_pid_file_path=`echo "$arg.pid" | sed -e 's/^[^=]*=//'`
|
;;
|
--pid-file=*) mysqld_pid_file_path=`echo "$arg" | sed -e 's/^[^=]*=//'` ;;
|
--service-startup-timeout=*) service_startup_timeout=`echo "$arg" | sed -e 's/^[^=]*=//'` ;;
|
...
|
mysqld_safe.sh
|
...
|
--basedir=*) MY_BASEDIR_VERSION="$val" ;;
|
--datadir=*|--data=*) DATADIR="$val" ;;
|
--pid[-_]file=*) pid_file="$val" ;;
|
--plugin[-_]dir=*) PLUGIN_DIR="$val" ;;
|
...
|
Hi,
Please provide your cnf file(s) and specify how you start the server.
Thanks.