i've got a blog with wordpress but sometimes i've trouble with that
i acquired blow error
Error creating a database connection
This either implies that the account information information inside your
wp-config.php file is incorrect or we can not contact the database server at
%s. This might mean your host's database server is lower.
Are you certain you will find the correct account information? Are you certain you have typed the right hostname? Are you certain the database server is running? If you are unsure what these terms mean you need to most likely speak to your host. Should you still need assistance you could go to the WordPress Support Forums
which is my config file
define('WP_HOME','http://www.mysite.com'); define('WP_SITEURL','http://www.mysite.come'); define('DB_NAME', 'mydbname'); /** MySQL database username */ define('DB_USER', 'dbusername'); /** MySQL database password */ define('DB_PASSWORD', 'dbpassword'); /** MySQL hostname */ define('DB_HOST', 'mysite.com');
why i acquired this error sometimes exactly what do you consider this issue?
i connection with my admins server plus they stated "we do not have any difficulty with server and mysql service"
does my server have problem or my config have problem?
It is the server or even the hosting company. Let them know to check out their logs to determine once the MySQL server is heading down. Who's the host?
Try altering your DB_HOST to localhost
** MySQL hostname */ define('DB_HOST', 'localhost');
In addition, perhaps you have setup the database and completed the username, password &lifier database inside your config?
When you get it 'sometimes' it means the PHP Scrpt wasn't in a position to connect with the database. Among the various reasons might be database server lower for some time.