时间:2021-07-01 10:21:17 帮助过:22人阅读
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;
linux安装mysql
标签:安装mysql bsp inux 更新 退出 serve HERE yum mysqld