Page 1 of 1

Mysql doesn't work

Posted: Tue Jun 25, 2002 9:26 am
by newbiezak
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 :? :( :x :cry: :?


I'm posting here to see if anyone has any suggestions or ideas on what is causing this problem..

Posted: Tue Jun 25, 2002 12:50 pm
by mikeq
Its not turning itself off, I would suspect something in your script/PHP setup is causing it to crash(stop), check the XP application log for any errors

Posted: Tue Jun 25, 2002 1:25 pm
by newbiezak
It was somehow turning itself off. I'm talking about 2 secs after I started it before I open IE to view the script.

I finally got it to work by reinstalling. I got know idea what caused it to go wrong.

I was going to reinstall it when first started playing up but I wanted to try and see what was causing it. (I will never know now :cry: )