错误代码: 1045 Access denied for user 'skyusers'@'%' (using password: YE
Posted gccbuaa
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了错误代码: 1045 Access denied for user 'skyusers'@'%' (using password: YE相关的知识,希望对你有一定的参考价值。
1. 错误描写叙述
GRANT ALL PRIVILEGES ON *.* TO [email protected]"%" IDENTIFIED BY ".";
1 queries executed, 0 success, 1 errors, 0 warnings
查询:grant all privileges on *.* to [email protected]"%" identified by "."
错误代码: 1045
Access denied for user ‘skyusers‘@‘%‘ (using password: YES)
运行耗时 : 0 sec
传送时间 : 0 sec
总耗时 : 0.003 sec
2. 错误原因
连接数据库的账户是skyusers,而不是root
3. 解决的方法
改动以下的mysql命令
GRANT ALL PRIVILEGES ON *.* TO [email protected]"%" IDENTIFIED BY ".";
改动成
GRANT ALL PRIVILEGES ON *.* TO [email protected]"%" IDENTIFIED BY ".";
以上是关于错误代码: 1045 Access denied for user 'skyusers'@'%' (using password: YE的主要内容,如果未能解决你的问题,请参考以下文章
连接MySQL出现错误:ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: YES)(代码片段
用工具软件远程链接数据库时报-1045 access denied错误
ERROR 1045 (28000): Access denied for user ‘root‘@
mysql错误:Error 1045: Access denied for user 的解决