Radhat Linux installation MySQL

Source: Internet
Author: User

STEP1: Check to see if the installation

Yum List installed mysql*
If it is already installed, go to step4 boot. Otherwise continue

Step2 to see if there is an installation package:

Yum List mysql*

If there is no installation package to download the official website


Step3 installing the MySQL server

Yum Install Mysql-dev
Yum Install Mysql-server

STEP4 Configuration



modifying my.cnf setting default characters and engines

Vim/etc/my.cnf


Add under [mysqld]
Default-character-set=utf8
Default-storage-engine=innodb

STEP5, start and close

/etc/init.d/mysqld start
/etc/init.d/mysqld stop

Or

Service Mysqld Start (version 5.0 is mysqld)
/etc/init.d/mysqld stop
Service Mysqld Stop

STEP6: Enter the MySQL command to enter the Mysql> interface and complete the installation


Radhat Linux installation MySQL

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.