MyBB Community Forums
Access denied for user 'root'@'localhost' (using password: NO) - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Access denied for user 'root'@'localhost' (using password: NO) (/thread-119950.html)



Access denied for user 'root'@'localhost' (using password: NO) - GFXdot - 06-05-2012

How can I fix this?

Thanks, it happens when I go to my site.


RE: Access denied for user 'root'@'localhost' (using password: NO) - Nathan Malcolm - 06-05-2012

Quote:Database: MySQL
SQL Error: 1045 - Access denied for user 'USERNAME'@'HOSTNAME' (using password: YES)
Query: [READ] Unable to connect to MySQL server
Information: This occurs when you are using MySQL and the database password is incorrect in ./inc/config.php. To fix this, open ./inc/config.php and check the entry for $config['database']['password']. If you do not know what needs to be here, contact your host provider.

http://wiki.mybb.com/index.php/Help:Common_Error_Messages#SQL_Errors


RE: Access denied for user 'root'@'localhost' (using password: NO) - crazy4cs - 06-05-2012

You switched hosts or changed phpmyadmin password? If yes, make sure you've changed db password in your inc/config.php file accordingly.


RE: Access denied for user 'root'@'localhost' (using password: NO) - Josh H. - 06-05-2012

And why are you using root?


RE: Access denied for user 'root'@'localhost' (using password: NO) - Ben Cousins - 06-05-2012

If the OP is using WAMPServer (Local install), Then its easier to use root.


RE: Access denied for user 'root'@'localhost' (using password: NO) - GFXdot - 06-05-2012

Wait, I got it, it was a plugin I had to configure.


RE: Access denied for user 'root'@'localhost' (using password: NO) - dayafter - 03-16-2015

(06-05-2012, 05:27 AM)GFXdot Wrote: How can I fix this?

Thanks, it happens when I go to my site.

I have same problem  on ewery server 

(06-05-2012, 05:32 AM)Nathan Malcolm Wrote:
Quote:Database: MySQL
SQL Error: 1045 - Access denied for user 'USERNAME'@'HOSTNAME' (using password: YES)
Query: [READ] Unable to connect to MySQL server
Information: This occurs when you are using MySQL and the database password is incorrect in ./inc/config.php. To fix this, open ./inc/config.php and check the entry for $config['database']['password']. If you do not know what needs to be here, contact your host provider.

http://wiki.mybb.com/index.php/Help:Common_Error_Messages#SQL_Errors

And what in this case, anyone who want register on site after installing myBB get this msg:


Access denied for user 'root'@'localhost' (using password: NO)

And myBB dont import users from wp



RE: Access denied for user 'root'@'localhost' (using password: NO) - StefanT - 03-16-2015

Please do not bump years old threads after you've already created another thread about it: http://community.mybb.com/thread-168538.html

Closed