#2002 - php_network_getaddresses - new database cannot log in


#1

Good day, I cannot log in to a new database I have created. I create the database and tie it to the host name, and create a user to log in. When attempting to log in, I get the above error and I am not sure what is going on.

The database is created, the user is there, but I feel like the database isn’t really connecting to the host.

When I log in, I also receive two additional errors
– mysqli_real_connect():
– mysqli_real_connect(): (HY000/2002)

My other database is working fine.

Googling this question isn’t bearing fruit, any help is appreciated. Thank you