cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting to a MySQL database with a form.

Error establishing a database connection

 

My site show this error what can i do? Please help me. 365info.az

2 REPLIES 2
Helper IV Helper IV
Helper IV

Re: Connecting to a MySQL database with a form.

Hi @dasdemirov - generally that message means that the database information in your wp-config.php file is incorrect.  Check to make sure you have the correct information for the database username,  password and hostname:

 

/** MySQL database username */
define('DB_USER', 'username_here');

/** MySQL database password */
define('DB_PASSWORD', 'password_here');

/** MySQL hostname */
define('DB_HOST', 'localhost');

 

Cheers!

Doc

 

 

Need some help with WordPress? Check out Site Doctor 911
Worry-Free WordPress Support - So You Can Focus On The Important Stuff
Highlighted

Re: Connecting to a MySQL database with a form.

Hello i have a problem with my site. My site is working bad, it is so late opening and very hard open. Please solve this problem. Thanks