Difference between revisions of "Tung mysql conf"

From CDOT Wiki
Jump to: navigation, search
Line 3: Line 3:
  
  
<b><big>Introduction</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.
 
<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>
 
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>
 
<b><big>Instruction</big></b>

Revision as of 22:46, 27 July 2011

Installing and Configuring MySQL


Introduction</b> 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.

<b>Instruction</b>

  1. Login as root user
  2. Install the MySQL server: <b>yum mysql-server</b>
  3. Configure the MySQL server to start when the Fedora is booted: <b>chkconfig mysqld on</b>
  4. Start the MySQL server: <b>service mysqld start</b>
  5. Set a password to MySQL server's root user: <b>/usr/bin/mysqladmin -u root password 'yourpassword'</b>
  6. Test the root account: <b> mysql -u root -p </b>. Enter your new password. You should enable to login as root.
  7. Logout the session: <b>quit</b>