为了能快速了解并处理您的问题,请提供以下基础信息: 问题描述:数据库用户情况:MariaDB [(none)]> SELECT user, host FROM mysql.user;+-------------+-----------+
| User | Host |
+-------------+-----------+
| PUBLIC | |
| | cvm53827 |
| | localhost |
| mysql | localhost |
| root | localhost |
+-------------+-----------+
而用设置密码是生效的。
数据库的配置文件:
[client]
#password = your_password
相关截图(日志、错误):这个报错是因为什么? 下面是数据库面板的报错:
2024-02-03 21:08:16 4 [Warning] Access denied for user 'root'@'localhost' (using password: NO)
2024-02-03 21:08:47 5 [Warning] Access denied for user 'root'@'localhost' (using password: YES)
2024-02-03 21:09:08 20 [Warning] Access denied for user 'root'@'localhost' (using password: YES)
2024-02-03 21:09:08 21 [Warning] Access denied for user 'root'@'localhost' (using password: YES)
2024-02-03 21:09:09 22 [Warning] Access denied for user 'root'@'localhost' (using password: YES)
2024-02-03 21:09:09 23 [Warning] Access denied for user 'root'@'localhost' (using password: YES)
|
|