大家好,我的drupal本地安装,在连接数据库那里,只有用户名输入root才能正确连接,但是为了避免出现安全问题,我就自己建了一个用户名,在phpadmin里面制定这个用户名到我的数据库关联并且赋予了全部权限,但是在安装连接过程却出现这个错误请问是怎么回事?谢谢!
Failed to connect to your MySQL database server. MySQL reports the following message: Access denied for user 'xuetang_admin'@'localhost' (using password: YES).- Are you sure you have the correct username and password?
- Are you sure that you have typed the correct database hostname?
- Are you sure that the database server is running?
For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.
用户名和密码都没有错误,但是就是连接不上,如果换成root又好了,真是郁闷了!
有简单的方法