phpmyadmin - Mysql 没有权限

2022-01-05 00:00:00 mysql phpmyadmin

我在 Windows 7 上安装了 wamp 2.1.但是,当我打开 phpMyAdmin 时,出现错误,Mysql 'No Provileges'.我卸载了 wamp 并重新安装了几次,但没有帮助.有谁知道如何解决这个问题?

I installed wamp 2.1 on windows 7. However when i open phpMyAdmin, I get the error, Mysql 'No Provileges'. I uninstalled wamp and reinstalled it a few times, but it doesn't help. Does anyone know how to solve this issue?

此外,当我尝试从 mysql 控制台创建数据库时,出现以下错误:错误 1044 <42000>:用户 ''@'localhost' 对数据库 'a_db_name' 的访问被拒绝

Also, when i tried creating a database from mysql console, i am getting the following error: ERROR 1044 <42000>: Access denied for user ''@'localhost' to database 'a_db_name'

推荐答案

感谢上帝,感谢所有帮助过的人.

Thank God and to all helped.

很简单.

  1. 必须!在phpadmin页面点击注销图标

  1. Must! click logout icon in phpadmin page

在登录页面,输入:

用户名:root 密码:(空白)

username:root password: (blank)

惊喜.现在您可以愉快地创建您的数据库了.

surprise. now you can happily create your database.

相关文章