MySQL Forums
Forum List  »  Install & Repo

Bug in init.d service script
Posted by: Tyler Hains
Date: October 12, 2015 08:55AM

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"

Options: ReplyQuote


Subject
Written By
Posted
Bug in init.d service script
October 12, 2015 08:55AM


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.