mysql
nie303671298
这个作者很懒,什么都没留下…
展开
-
2021-01-08
查询用户名的权限所在的ip,*代表全部,localhost是本机use mysql;select host,user from user;创建用户名和密码,并指定ip的权限,比如用户是abc123,密码是123456create user abc123@'%' identified by '123456';grant all privileges on *.* to abc123@'%' with grant option;...原创 2021-01-08 14:00:55 · 105 阅读 · 0 评论 -
mysql的忘记了密码修改
mysqladmin -uroot -p password 'newpassword'原创 2019-01-27 12:45:40 · 92 阅读 · 0 评论