Installing the MySQL database in fedora 8 is very easy. The procedure is as follows:
$ Su
Enter the root password:
# Yum install mysql-Server
Download and install MySQL
Run MySQL after installation
#/Etc/init. d/mysqld start
After the MySQL service is started, you must first set the root password, which is blank by default.
# Mysqladmin-u Root Password "new password"
Now you can access MySQL.
# Mysql-uroot-P
(Enter the root password)
OK. Now you can see the welcome message for MySQL. The MySQL installation is complete.
The last task is to enable MySQL to run automatically when it is started. The method is very simple. On the GNOME desktop, select the "System" menu and then select the "manage" sub-menu, select "service" in the sub-menu, enter the root password in the pop-up Password dialog box, enter "service configuration", and find "mysqld" in the "Background Service" list ", select it and save the settings to run MySQL at system startup.