I have a wordpress blog, but sometimes I have a problem with this
I got an error with an error
Error creating database connection. This means that the username and password information in your wp-config.php is incorrect or we cannot contact the database server in %s . This may mean that your host database server is down.
Do you have the correct username and password? Are you sure you typed the correct hostname? Are you sure the database server is running? If you do not know what these terms mean, you should probably contact your host. If you still need help, you can always visit the WordPress Support Forums.
and this is my configuration file
define('WP_HOME','http://www.mysite.com'); define('WP_SITEURL','http://www.mysite.come'); define('DB_NAME', 'mydbname'); define('DB_USER', 'dbusername'); define('DB_PASSWORD', 'dbpassword'); define('DB_HOST', 'mysite.com');
Why did I get this error sometimes , what do you think of this problem?
i contact my admins server and they said: "We have no problems with the server and mysql service"
Does my server have a problem or my configuration has a problem?
php mysql web-config wordpress
ulduz114
source share