Getting Error establishing a database connection

My website URL is: http://www.belabeautymodels.in/

http://www.belabeautymodels.in/

What I’m seeing is: Error establishing a database connection

I’m using this software:

Wordpress

Additional information:

See this post to help you with the MySQL configuration (edit the wp-config.php file for this).

not solve,
I am 100% sure i have putted right db name , user name and password

If you’ve copied asterisks instead of the actual password, you may click on “Show/Hide” to show the actual password, then copy it and paste it on the database password definition on the wp-config.php file.

Yes, I have also try to changed password. but not success

Maybe your database permissions are broken, or sqlxxx.epizy.com doesn’t work for you. Use the database host that should look like sql123.byetcluster.com instead of the one that should look like sql123.epizy.com, because that might work.

Sorry, I am new, How can i change it?

You can use the Monsta FTP. Go to your htdocs and edit wp-config.php. Change the line define( 'DB_HOST', 'what_should_look_like_sql123.epizy.com' ); with define( 'DB_HOST', 'what_should_look_like_sql123.byetcluster.com' );, changing what_should_look_like_sql123 with the DB host start that starts with what should look like sql123.

Not working man,
I am very stuck, Please help me .

Is there any changes to wordpress website intead of other hosting?

The name of the database for WordPress */
MySQL database username */
MySQL database password */
MySQL hostname */

These four value correct as per show me in my panel.

ns1.epizy.com
ns2.epizy.com

Is this correct DNS record?

@arunkoshti
can you “display errors” via PHP config? that’d show error type top of “Error establishing a database connection”

So now what i can do?
This is my website
http://belabeautymodels.in

I have done simple databse and folder download to other hosting and put here.

doesn’t that shows you error type after enabling “display errors”?

Check now
http://belabeautymodels.in/

Warning : mysqli_real_connect(): (HY000/1045): Access denied for user ‘epiz_24035706’@‘192.168.2.195’ (using password: YES) in /home/vol10_1/epizy.com/epiz_24035706/htdocs/wp-includes/wp-db.php on line 1531

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

Warning : mysql_connect(): Access denied for user ‘epiz_24035706’@‘192.168.2.195’ (using password: YES) in /home/vol10_1/epizy.com/epiz_24035706/htdocs/wp-includes/wp-db.php on line 1562

Error establishing a database connection

Am I correct?

@arunkoshti

That’s fine . access denied means you’ve gave incorrect password for wordpress on wp-config.php or a thing server can’t read

Go to wp-db.php on line 1562 and edit mysql_connect() to mysqli_connect()

then tell me results

I checked your database password in the client area and in your WordPress configuration, and I can see they are not the same (one character is missing in the configuration file).

Warning : mysqli_real_connect(): (HY000/1045): Access denied for user ‘epiz_24035706’@‘192.168.2.195’ (using password: YES) in /home/vol10_1/epizy.com/epiz_24035706/htdocs/wp-includes/wp-db.php on line 1531

Warning : mysqli_connect(): (HY000/1045): Access denied for user ‘epiz_24035706’@‘192.168.2.195’ (using password: YES) in /home/vol10_1/epizy.com/epiz_24035706/htdocs/wp-includes/wp-db.php on line 1562

Error establishing a database connection

now i can see this errors