Author Topic: Can't connect to database  (Read 4312 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Can't connect to database
« on: February 04, 2019, 12:16:56 PM »
When I try to install script on my site I'm getting this error:
Database_Exception [ 2 ]: mysqli::__construct(): (HY000/1045): Access denied for user ''@'localhost' (using password: NO)

I have a database, user and password.
But when I tried to change the mysql password for root, I received the message:
Username root with host localhost not found in mysql.user table!