美文网首页
mysql命令行的简单操作

mysql命令行的简单操作

作者: Pale_Eyes | 来源:发表于2018-01-24 00:13 被阅读0次

root本机登录(用户名:root|host:127.0.0.1|密码:123456)

mysql -uroot -h127.0.0.1 -p123456

root创建超级只读账户(所有库和表的查询权限,用户名:read|密码:readonly)

grant select  on *.* to  "read"@"%" identified by "readonly"

等等后续。。。

相关文章

网友评论

      本文标题:mysql命令行的简单操作

      本文链接:https://www.haomeiwen.com/subject/luxyaxtx.html