Mysqli an PDO error not connecting

Avatar
  • Answered
when i try to connect to dataabase using MYSQLI or PDO it tells me

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1044] Access denied for user ' ' @ 'localhost' to database ' ' and i have check and confirm the username and password
Avatar
Scott
I am not able to duplicate the issue on my own server. This may be a server or account specific issue. In those cases, you will need to speak to your Live Support team so they can check individual settings and watch the server during live testing.
Avatar
anonymous
Hello,

Are you sure that the user is connected to the database? What command or script are you using to connect to the database?

Best Regards,
TJ Edens