Starting the MySQL Server


For Fedora, 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.




Red Hat Fedora Linux 3 Bible
Red Hat Fedora Linux 3 Bible
ISBN: 0764578723
EAN: 2147483647
Year: 2005
Pages: 286

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