Starting the MySQL Server


For Fedora and RHEL, the MySQL server is off by default. To turn it on, however, is fairly simple. The /etc/init.d/mysqld start-up script is delivered with the mysql-server package. To start the server, you can run the mysqld start-up script to have it start immediately, then set it to start each time your system boots.

To start the MySQL server immediately, type the following from a Terminal window as root user :

 #  service mysqld start  

To set the MySQL server to start each time the computer reboots, type the following (as root):

 #  chkconfig mysqld on  

This sets mysqld to start during most multiuser run states (levels 3, 4, and 5). To check that the service is turned on for those levels, type chkconfig --list mysqld from a Terminal window.




Fedora 6 and Red Hat Enterprise Linux Bible
Fedora 6 and Red Hat Enterprise Linux Bible
ISBN: 047008278X
EAN: 2147483647
Year: 2007
Pages: 279

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net