MySQL
暖暖爸爸
要想得到从没得到的,就要做从没做过的!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
修改mysql数据库root密码
方法1:用UPDATE直接编辑user表首先登录MySQL。mysql> use mysql; mysql> update user set password=password('root') where user='root' and host='localhost'; mysql> flush privileges;原创 2017-08-17 09:16:30 · 270 阅读 · 0 评论 -
创建用户以及用户授权
创建用户create user 'sqy'@'%' identified by 'sqy';用户授权语法格式:GRANT privileges ON databasename.tablename TO 'username'@'host' ;例1:授予全部权限grant all on *.* to 'sqy'@'%';grant all on *.* to 'sqy'@'localhost';例2:原创 2017-08-17 10:02:37 · 811 阅读 · 0 评论
分享