我无法使用Mariadb root登录

时间:2018-01-26 09:08:41

标签: mysql

我已连接到我的云端。我可以使用此命令使用Mariadb root登录:

mysql -u root -p

然后我使用主机%

创建了一个新的用户帐单
CREATE USER 'bill'@'%' IDENTIFIED BY 'passpass';

授予用户账单的所有权限:

grant all privileges on *.* to 'bill'@'%' with grant option;

当我输入它时,我收到了这个错误:

ERROR 1045 (28000): Access denied for user 'root'@'%' (using password: YES)

请尽快给我答复。 提前谢谢。

0 个答案:

没有答案