rpm -ivh MySQL-client-5.6.22-1.el6.x86_64.rpm
rpm -ivh MySQL-devel-5.6.22-1.el6.x86_64.rpm
rpm -ivh MySQL-server-5.6.22-1.el6.x86_64.rpm
第一次安装完成后 会随机产生一个密码:
A RANDOM PASSWORD HAS BEEN SET FOR THE MySQL root USER !
You will find that password in '/root/.mysql_secret'.
用随机密码登入:
第一次登入后需要修改密码:
You must change that password on your first connect,
no other statement but 'SET PASSWORD' will be accepted.
See the manual for the semantics of the 'password expired' flag.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26764973/viewspace-1443610/
,如需转载,请注明出处,否则将追究法律责任。