How to fix error: Access denied for user ''@'localhost ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Bustos
    New Member
    • Nov 2010
    • 1

    #1

    How to fix error: Access denied for user ''@'localhost ?

    Hello everyone,

    I am a newbie here and I need some help. I am trying to install a bug tracking application called MantisBT on a Windows Server 2008 machine. It requires a Web Server - running Apache 2.2, PHP 5, and Mysql 5.5.

    Apache is running and I have verified that PHP and MySQL are communicating with one another.

    When trying to run the actual MantisBT application I get the following error message:

    APPLICATION ERROR #401
    Database query failed. Error received from database was #1044: Access denied for user ''@'localhost' to database 'bugtracker' for the query: SELECT COUNT(*) FROM mantis_plugin_t able WHERE basename=?.

    Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.


    Any help would be greatly appreciated. Thank you!
  • JKing
    Recognized Expert Top Contributor
    • Jun 2007
    • 1206

    #2
    You don't have the right permissions.

    Check to make sure your username and password for the database bugtracker are correct. Currently you are sending in a blank username.

    Comment

    Working...