????1.???????? ????汾?????????mysql?汾
????cat /proc/version
????2. mysql ??????????
????https://dev.mysql.com/downloads/mysql/

????3.???????? rz
????4.??????
????tar -zxvf mysql-5.6.36-linux-glibc2.5-i686.tar.gz
????5.?????????????
????cp mysql-5.6.36-linux-glibc2.5-i686 /usr/local/mysql -r
??????????????δ???mysql??????cp ?????????????mysql-5.6.36-linux-glibc2.5-i686??
???????????????mysql??????????????mysql????
????????????mysql???????/usr/local/mysql/mysql-5.6.36-linux-glibc2.5-i686?????氳??????????
????6.????????飬?????????????′?????????
????groupadd mysql
????useradd -r -g mysql mysql
????passwd mysql -- ???????????????
????7. ?л????? mysql???????????????????????
????cd /usr/local/mysql/
????chown -R -v mysql:mysql ./ -- ????????????????????????????mysql
????./scripts/mysql_install_db --user=mysql
????chown -R root:root ./ ????????????????????????????mysql
????chown -R mysql:mysql data ???????data?????????????????????mysql
????8. ????????? ????????????????????????
????cp support-files/mysql.server /etc/init.d/mysql
????9.???mysql ????
????service mysql start
????????mysql ????????????
????service mysql start ??Starting MySQL.......[???]
????service mysql status ?? MySQL running (4095)[???]
????service mysql stop ??Shutting down MySQL..[???]
????service mysql restart ??Shutting down MySQL..[???] Starting MySQL.[???]
????10. ?л???mysql ?? ???root??????
????cd /usr/local/mysql
????./bin/mysqladmin -u root password 'root'
????11. ??mysql??????????·??
????ln -s /usr/local/mysql/bin/mysql /usr/local/bin/mysql
????12. ????????
????mysql -u root -p -- ????root ??????
????show databases;
????use mysql;
????select host??user from user where user='root';