I have a strange problem when using my local development machine setup. It is set up using WordPress with PHP5 and MySQL on OSX Leopard.
What happens is that I frequently get an “error establishing database connection” error page when trying to publish a post, or perform some other operation. I know all the settings in the wp-config.php file are correct. If I refresh the page it usually works OK the second time, and the post publishes correctly.
It’s almost as if the database doesn’t respond the first time, or something?
Could this be some kind of time-out issue in my local MySQL setup? Anyone else come across this problem?
- The topic ‘Intermittent problem establishing database connection on localhost’ is closed to new replies.