Linux server – start/stop/restart mysql

By | 18 January, 2011

Its merely a reminder so i dont go through the search to restart mysql on one of my stupid servers:

Usually (i think) its like this:

/etc/init.d/mysqld start
/etc/init.d/mysqld stop
/etc/init.d/mysqld restart

On that server of mine, because of some config:

/etc/rc.d/init.d/mysqld start
/etc/rc.d/init.d/mysqld stop
/etc/rc.d/init.d/mysqld restart