Thursday, November 1, 2007

How to Make Sure MySQL Server Runs at Startup

To make sure mysqld runs at system startup time, type the following commands:
sudo /sbin/chkconfig --add mysqld
sudo /sbin/chkconfig --level 235 mysqld on
To make sure mysqld is configured properly, type the following:
sudo /sbin/chkconfig --list mysqld
The output should look like this:
mysqld           0:off 1:off 2:on 3:on 4:off 5:on 6:off

No comments:

Post a Comment