--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