Cyprich.com

Occasionally Relevant Insights from a Software Builder

By

Setting Runlevel for MySQL in Fedora 5

I had lots of fun trying to get MySQL to work properly in Fedora 5. The problem I had was that when a user logged out, MySQL would stop running. You need to set the Runlevel to 3 that the database server will continue running when a user logs out.

The default settings for MySQL in Fedora 5 are incorrect. You can view the runlevel with chkconfig –list mysqld. Runlevel 5 is set on as a default and everything else is off.

The command below will fix the Runlevel in MySQL:

chkconfig –level 3 mysqld on

Leave a Reply

Your email address will not be published. Required fields are marked *