Mysql doesn't work

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
newbiezak

Mysql doesn't work

Post 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..
User avatar
mikeq
Forum Regular
Posts: 512
Joined: Fri May 03, 2002 3:33 am
Location: Edinburgh, Scotland

Post 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
newbiezak

Post 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: )
Post Reply