Mysql doesn't work
Posted: Tue Jun 25, 2002 9:26 am
The other week I intsall a personal webserve so I can test my scripts!
I installed Apache with CGI,PHP and Mysql. It all worked great.
Today I turned on my computer and finished of a PHP script I was working on. Came to test it and it said it couldn't connect to the Mysql server. SO I made sure the settings were correct in the script and they were.
I have win XP home so I went to Control Panel > Administrative Tools> Services and Mysql is listed but it had been stopped. I started it again went to my php script and it still coudn't connect.
I went back to the services and Mysql was stopped again.
It turns out as soon as I start mysql within a few seconds it turns itself off again.
I've restarted the computer a few times and an hour later I'm still having problems with it
I'm posting here to see if anyone has any suggestions or ideas on what is causing this problem..
I installed Apache with CGI,PHP and Mysql. It all worked great.
Today I turned on my computer and finished of a PHP script I was working on. Came to test it and it said it couldn't connect to the Mysql server. SO I made sure the settings were correct in the script and they were.
I have win XP home so I went to Control Panel > Administrative Tools> Services and Mysql is listed but it had been stopped. I started it again went to my php script and it still coudn't connect.
I went back to the services and Mysql was stopped again.
It turns out as soon as I start mysql within a few seconds it turns itself off again.
I've restarted the computer a few times and an hour later I'm still having problems with it
I'm posting here to see if anyone has any suggestions or ideas on what is causing this problem..