No announcement yet.

Upgrading error- access denied for user local host

  • Filter
  • Time
  • Show
Clear All
new posts

  • Upgrading error- access denied for user local host

    2: mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO)

    I am not specialsied at all in installations. When trying to make the upgrade, I receive the error, above. What should I do?

  • #2
    This means the database information in your /core/includes/config.php file is incorrect. root is the default user when the file ships but you should never actually use the root user for anything on a website.

    You will need to update the database information in that file so the software can connect to MySQL.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API


    • Mohammed Abu Risha
      Mohammed Abu Risha commented
      Editing a comment
      Thank you! I did and it worked. I now know how to configure the config. file so that it connects with the database.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.