mysql不用密码登录

1、登陆mysql mysql -uroot -p 2、创建无密码用户 mysql> create user gateway@'localhost' identified by '';3、授权 mysql> grant all privileges on *.* to gateway@'localhost';或者 mysql> grant all privileges on db01.* to gateway@'localhost';4、mysql -ugateway -p回车即可登陆 ...
mysql不用密码登录
1、登陆mysql
mysql -uroot -p
2、创建无密码用户
mysql> create user gateway@'localhost' identified by '';
3、授权
mysql> grant all privileges on *.* to gateway@'localhost';
或者
mysql> grant all privileges on db01.* to gateway@'localhost';
4、mysql -ugateway -p回车即可登陆2015-08-27
各色然后呢热身会飞的任何事呢然2015-08-27
mengvlog 阅读 57 次 更新于 2025-12-18 07:34:53 我来答关注问题0
檬味博客在线解答立即免费咨询

mySQL相关话题

Copyright © 2023 WWW.MENGVLOG.COM - 檬味博客
返回顶部