MySql- Access denied for user 'mysql用户名'@'主机或IP' (using password: YES)'
2016-12-06 14:55
531 查看
1:你想使用MySQL的用户名myuser从任何主机连接到mysql服务器,并使用mypassword作为密码
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;
flush privileges;
2:你想使用mysql的用户名myuser从ip为192.168.1.3的主机连接到mysql服务器,并使用mypassword作为密码
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'192.168.1.110' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;
flush privileges;
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;
flush privileges;
2:你想使用mysql的用户名myuser从ip为192.168.1.3的主机连接到mysql服务器,并使用mypassword作为密码
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'192.168.1.110' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;
flush privileges;
相关文章推荐
- Access denied for user 'mysql用户名'@'主机或IP' (using password: YES)'
- Access denied for user 'mysql用户名'@'主机或IP' (using password: YES)'
- MySQL远程连接提示Accesss denied for user 'root'@'此处为你自己的ip'(using password:YES)
- 解决Navicat连接的时候出现了1045 -Access denied for user'root'@'ip'(using password :yes)--mysql
- 当Navicat for Mysql出现 1045 -Access denied for user'root'@'ipAddress'(using password :yes)
- MySQL 解决ERROR 1045 (28000): Access deniedfor user datam@localhost (using password: YES)的问题
- mysql update完root用户密码后,再登陆报错”Access denied for user 'root'@'localhost' (using password: YES)“的解决方法
- mysql报错:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
- mysql 出现 1045 access denied for user 'root'@'localhost' using password yes 解决办法
- mysql登录:access denied for user 'root@localhost'(using password: YES)
- MySQL改密码报错:ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)
- mysql修改密码后报错:ERROR 1045:Access denied for user:'root@localhost'(using password:YES)
- mysql全局权限账户%登录不上ERROR 1045 (28000): Access denied for user 'zzq'@'localhost' (using password: YES)
- MySQL提示:1045 access denied for user 'root'@'localhost' using password yes
- mysql登录报错“Access denied for user 'root'@'localhost' (using password: YES”的处理方法
- MySQL问题 Access denied for user 'root'@'localhost' (using password: YES)
- MySQL 解决ERROR 1045 (28000): Access deniedfor user datam@localhost (using password: YES)的问题 分类: database 2013-09-12 15:52 402人阅读 评论(0) 收藏
- MySql Access denied for user 'root'@'localhost' (using password: YES)
- mysql Access denied for user 'root'@'localhost' (using password: YES)
- mysql 重新修改密码 以及ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)问题解决