'Warning: mysqli_real_connect(): (HY000/1045): Access denied for user' Error

epiz_28265482

Error Message

I really appreciate the help y’all rendered in helping me get my database back.
But I’m still encountering another error on my wordpress site and my client (the owner of the site is already getting pissed off.

This is the error I’m facing below

Warning : mysqli_real_connect(): (HY000/1045): Access denied for user ‘’@‘192.168.0.38’ (using password: YES) in /home/vol14_3/epizy.com/epiz_28265482/htdocs/wp-includes/wp-db.php on line 1653

Deprecated : mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/vol14_3/epizy.com/epiz_28265482/htdocs/wp-includes/wp-db.php on line 1685

Warning : mysql_connect(): Access denied for user ‘’@‘192.168.0.38’ (using password: YES) in /home/vol14_3/epizy.com/epiz_28265482/htdocs/wp-includes/wp-db.php on line 1685

Access denied for user ''@'192.168.0.38' (using password: YES)

Other Information

I finally got access to my Database, used the CURRENT_USER() function in requesting for my Database username, and it displayed this “[email protected]” as the username.
So changed the “MySQL database username” in my “wp-config.php” to “epiz_28265482”. But it still didn’t work.
Instead, the error still displayed

Warning : mysqli_real_connect(): (HY000/1045): Access denied for user ‘epiz_28265482’@‘192.168.0.38’ (using password: YES) in /home/vol14_3/epizy.com/epiz_28265482/htdocs/wp-includes/wp-db.php on line 1653

Deprecated : mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/vol14_3/epizy.com/epiz_28265482/htdocs/wp-includes/wp-db.php on line 1685

Warning : mysql_connect(): Access denied for user ‘epiz_28265482’@‘192.168.0.38’ (using password: YES) in /home/vol14_3/epizy.com/epiz_28265482/htdocs/wp-includes/wp-db.php on line 1685

Access denied for user 'epiz_28265482'@'192.168.0.38' (using password: YES)

Please i need some help as soon as possible.
Thanks in advance.

Check your password and DB name

3 Likes

Use mysqli_connect()

This usually means that your credentials are wrong. Make sure you copy the credentials from the client area.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.