No announcement yet.

Error in db_mysql.php

  • Filter
  • Time
  • Show
Clear All
new posts

  • Error in db_mysql.php

    Anybody know why this error would occur? Thanks.

    Warning: Access denied for user: '[email protected]' (Using password: YES) in /home/ar51/public_html/forums/admin/db_mysql.php on line 38

    Warning: MySQL Connection Failed: Access denied for user: '[email protected]' (Using password: YES) in /home/ar51/public_html/forums/admin/db_mysql.php on line 38

  • #2
    That means the currnet user does not have permission to access the MySQL database.

    Make sure the user exists, and has permission to access the database.
    Webmaster / Administrator


    • #3
      Well I get that error whenever I try to open the forums. Everyone else just gets a blank page.

      I checked the config.php file and the account name/pw is correct..


      • #4
        Try changing $servername to "localhost". Also make sure there is no whitespace or extras lines in config.php either before the <?php or after the ?>.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography

        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        • #5
          Well, I figured it out by chance. Seems the hosting company had changed the password for the mysql database. Thanks for the help.


          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.