mysql -uroot -p
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 -uroot -p
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回车即可登陆
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)