标签:安装mysql bsp inux 更新 退出 serve HERE yum mysqld
1:安装 yum search mysql
2:yum install mysql-server.x86_64
3:service mysqld start
4:空密码登陆 然后输入:mysql -u root -p 回车,以空密码登录
5:更新密码
use mysql;
UPDATE user SET password=PASSWORD(‘123456‘) WHERE user=‘root‘;
刷新:flush privileges;
退出:exit;
标签:安装mysql bsp inux 更新 退出 serve HERE yum mysqld
原文地址:https://www.cnblogs.com/mrray/p/10883155.html