|
|
(6 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | <b><big><big>Installing and Configuring MySQL</big></big></b>
| |
| | | |
− |
| |
− |
| |
− | <b><big>Introduction</b>
| |
− | <big>
| |
− | <font face=Georgia> 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 the future open source development. </font>
| |
− | </big>
| |
− |
| |
− | <b><big>Instruction</big></b>
| |
− |
| |
− | #Login as root user
| |
− | #Install the MySQL server: <b><code><font color=green >yum mysql-server</font></code></b>
| |
− | #Configure the MySQL server to start when the Fedora is booted: <b><code><font color=green >chkconfig mysqld on</font></code></b>
| |
− | #Start the MySQL server: <b><code><font color=green >service mysqld start</font></code></b>
| |
− | #Set a password to MySQL server's root user: <b><code><font color=green >/usr/bin/mysqladmin -u root password 'yourpassword'</font></code></b>
| |
− | #Test the root account: <b><code><font color=green > mysql -u root -p </font></code></b>. Enter your new password. You should enable to login as root.
| |
− | #Logout the session: <b><code><font color=green >quit</font></code></b>
| |