RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
安装mariadb以及允许远程访问
  1. 下载mariadb:
    yum -y install mariadb-server mariadb
  2. 开启mariadb服务:
    systemctl start mariadb
  3. 无密码登录mariadb:
    MySQL
  4. 查看用户表:
    select * from mysql.user\G
  5. 添加远程访问用户:
    grant all on *.* to 'root'@'%' identified by '123456'
  6. 设置添加用户的授权权限:
    update mysql.user set Grant_priv='Y' where Host='%'
  7. 移除匿名用户:
    delete from mysql.user where Host<>'%' or User<>'root'
  8. 退出mariadb命令行:
    quit
  9. 重启mariadb:
    systemctl restart mariadb

网站名称:安装mariadb以及允许远程访问
URL链接:http://scyingshan.cn/article/ipehdc.html