Every now and then MySQL stops working... the only solution is to reinstall phpdev. It's really annoying, and I have no idea how to stop it from happening, nor why it's happening.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-08-04
What is the specific error you're getting? I remember having some weird problems with MySQL. Most notably, sometimes a mysql_connect() would not work several times (invalid username/password), but then it seemed to work for no apparent reason (within the span of a few seconds). I originally didn't know what the problem was so I set up my script to run a loop on the connect function a few times. Later, I checked Windows task manager (XP) and noticed multiple copies of what looked to be the mysql daemon running. Disabling all but one of these helped a little. Also, I downloaded the latest version of Mysql and just stuck it in the right directory in the phpdev folder, and it worked great after that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Every now and then MySQL stops working... the only solution is to reinstall phpdev. It's really annoying, and I have no idea how to stop it from happening, nor why it's happening.
What is the specific error you're getting? I remember having some weird problems with MySQL. Most notably, sometimes a mysql_connect() would not work several times (invalid username/password), but then it seemed to work for no apparent reason (within the span of a few seconds). I originally didn't know what the problem was so I set up my script to run a loop on the connect function a few times. Later, I checked Windows task manager (XP) and noticed multiple copies of what looked to be the mysql daemon running. Disabling all but one of these helped a little. Also, I downloaded the latest version of Mysql and just stuck it in the right directory in the phpdev folder, and it worked great after that.