下载mariadb: yum -y install mariadb-server mariadb 开启mariadb服务: systemctl start mariadb 无密码登录mariadb: My
yum -y install mariadb-server mariadb
systemctl start mariadb
Mysql
select * from mysql.user\G
grant all on *.* to 'root'@'%' identified by '123456'
update mysql.user set Grant_priv='Y' where Host='%'
delete from mysql.user where Host<>'%' or User<>'root'
quit
systemctl restart mariadb
--结束END--
本文标题: 安装mariadb以及允许远程访问
本文链接: https://lsjlt.com/news/41224.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0