Bug in init.d service script
I have found a bug in the init.d service script. The line that fetches the socket location results in a bad path if the datadir is moved and the socket is not also moved.
Buggy line:
get_mysql_option mysqld socket "$datadir/mysql.sock"
Fixed line:
get_mysql_option mysqld socket "/var/lib/mysql/mysql.sock"
Subject
Written By
Posted
Bug in init.d service script
October 12, 2015 08:55AM
November 07, 2015 07:11AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.