Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 5.5, 10.0
-
Fix Version/s: 10.0.22
-
Component/s: Platform RedHat, Scripts & Clients
-
Labels:None
-
Environment:CentOS 7.1 x64
-
Sprint:10.0.22
Description
If I start mysql with --pid-file argument:
service mysql start --pid-file=/var/lib/mysql/1234.pid
I can not stop it with
service mysql stop --pid-file=/var/lib/mysql/1234.pid
I got this error:
MySQL server PID file could not be found!
This is because parse_server_arguments function in script does not parse --pid-file, the variable $mysqld_pid_file_path will always be empty.
Thanks.