What should I do to solve Wordpress error establishing a database connection?

1 - Check the WordPress database credentials

The most common reason for database connection error in WordPress is incorrect database credentials.

THe WordPress database credentials are stored in the wp-config.php file. It is the WordPress configuration file that contains important WordPress settings including database information.

Note: In Cloudjiffy, location for the wp-config.php file is /var/www/webroot/ROOT/wp-config.php

I’ll be looking for the following lines in the wp-config.php file.

                

I need to make sure that the information for the database name, username, password, and database host is correct.

Note: I will get the details of the PHPMyAdmin username and password in the registered email id in Cloudjiffy.


Was this article helpful?

mood_bad Dislike 0
mood Like 1
visibility Views: 7100