Cannot connect to mysql DB

  • Answered
Here is my code to try to access a DB on my site: "; And I get this error: Warning: mysql_connect(): Access denied for user '********'@'' (using password: YES) in /home/orenga5/public_html/index_homepage.php on line 11 Unable to connect to MySQL--- Am I doing something wrong? Curious about access denied. Seems like I connected but was denied.
Hello crawfordL3,

Sorry to hear you are having issues with your MySQL DB Connection. When you are unable to connect, it is usually one of three things: incorrect username, incorrect password, or incorrect host. Given your error says "Access denied for user '********'@'" this is likely due to a username or password issue. Correcting that should allow you to access the database.

Kindest Regards,
Scott M