1.下載安裝包(這裡是32位的):
MySQL-client-5.6.13-1.rhel5.i386.rpm
MySQL-server-5.6.13-1.rhel5.i386.rpm
2.安裝
rpm -ivh MySQL-server-.--ivh MySQL-client-.-.rhel5.i386
3.重啟
4.netstate -ntl 查看3306端口是否啟動,啟動則正常。
5.
mysqladmin -u root password -u root -
如果進入,即
ERROR (): Access denied user @ ( password: NO)
解決辦法是:
/etc/init.d/--user=mysql --skip-grant-tables --skip-networking &-> UPDATE user SET Password=PASSWORD() USER=>>/etc/init.d/-u root -