1 download mysql -xxx.tar.gz first
2. Unzip: TAR ZXVF mysql-3.22.32.tar.gz
3. CD mysql -3.22.32
4. Directory: ./ Configure --Prefix = / Your path / mysql
5. Make
6. make install
7. CD Scripts
8. ./mysql_install_db
9. CD / usr / local / mysql / share / mysql /
10. Chmod 611 MySQL.Server
11. Cp /usr/local/mysql/scripts/mysql.server / usr / local / mysql / bin
12./mysql.server start
13. Open /etc/rc.d/rc.local by kwrite, add this to the following to automatically perform mysql
/us/local/mysql/share/mysql/mysql.server start
(Reposted)