Deleting a script.

Issues related to software problems.
patryk20120
Posts: 5
Joined: 2014/08/05 19:18:36

Re: Deleting a script.

Post by patryk20120 » 2014/08/06 17:39:13

I think I've found better solution then my stupid idea.
Ill add this:

Code: Select all

service mysql stop
rm -f /var/lib/mysql/mysql.sock
service mysql start
into rc.local.
Hope it will work.
Thanks for help.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Deleting a script.

Post by gerald_clark » 2014/08/06 18:25:02

You might be able to eliminate the "service mysqld stop" if you "chkconfig mysqld off".

Post Reply

Return to “CentOS 5 - Software Support”