Difference between revisions of "Tung mysql conf"
Line 4: | Line 4: | ||
<b><big>Introduction</big></b> | <b><big>Introduction</big></b> | ||
+ | |||
In this page, you are going to install the MySQL server to your Fedora, and set a password to the root user. | In this page, you are going to install the MySQL server to your Fedora, and set a password to the root user. | ||
MySQL is free database management system that is used by large web sites, such as Wordpress, Wikipedia, Twitter and Facebook. Because it threatens Oracle's business, it has been acquired by Oracle. It will stop future open source development. | MySQL is free database management system that is used by large web sites, such as Wordpress, Wikipedia, Twitter and Facebook. Because it threatens Oracle's business, it has been acquired by Oracle. It will stop future open source development. | ||
<b><big>Instruction</big></b> | <b><big>Instruction</big></b> | ||
+ | |||
#Login as root user | #Login as root user | ||
#Install the MySQL server: <b><code><font color=green >yum mysql-server</font></code></b> | #Install the MySQL server: <b><code><font color=green >yum mysql-server</font></code></b> |
Revision as of 16:57, 27 July 2011
Installing and Configuring MySQL
Introduction
In this page, you are going to install the MySQL server to your Fedora, and set a password to the root user. MySQL is free database management system that is used by large web sites, such as Wordpress, Wikipedia, Twitter and Facebook. Because it threatens Oracle's business, it has been acquired by Oracle. It will stop future open source development.
Instruction
- Login as root user
- Install the MySQL server:
yum mysql-server
- Configure the MySQL server to start when the Fedora is booted:
chkconfig mysqld on
- Start the MySQL server:
service mysqld start
- Set a password to MySQL server's root user:
/usr/bin/mysqladmin -u root password 'yourpassword'
- Test the root account:
mysql -u root -p
. Enter your new password. You should enable to login as root. - Logout the session: quit