MySQL installation and configuration under Linux

Source: Internet
Author: User

--linux under MySQL installation and configuration

---------------------------2014/05/18

Configuration and installation of MySQL under Linux

This article is installed with rpm Package Installation

1. first download on official website

http://dev.mysql.com/downloads/mysql/

mysql-client-5.6.17-1.el6.i686.rpm

mysql-server-5.6.17-1.el6.i686.rpm

2. Due to the RedHat of the mysql-libs-5.1

Will clash with mysql-server-5.6.17-1.el6.i686.rpm , so we have to kill mysql-libs-5.1.

Execute command:

The second of these commands is to check if it's been killed.

3. Start the installation now

Install mysql-server-5.6.17-1.el6.i686.rpm First

Re-install mysql-client-5.6.17-1.el6.i686.rpm

① installation mysql-server-5.6.17-1.el6.i686.rpm

Execute command

② installation mysql-client-5.6.17-1.el6.i686.rpm

③ to see if it has been successfully installed

/usr/bin/mysqladmin-u root password password//change password

CP/USR/SHARE/MYSQL/MY-MEDIUM.CNF/ETC/MY.CNF//Modify one of the my-*.cnf (subject to availability) to/etc/, renamed MY.CNF

/etc/init.d/mysql Restart or service MySQL restart//restart server

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.