Page 1 of 1

MySQL database Deactivated status

PostPosted: 30. April 2010 15:19
by jasius
Hi,

for some reason I am getting
MySQL database Deactivated status all the time, absolutely not sure why. Any ideas?

thanks

Jonas

Re: MySQL database Deactivated status

PostPosted: 03. May 2010 19:33
by mickcy
I assume this happened:
You happily installed LAMPP, checked if everything was OK, which it was.

Then you changed your passwords, suddenly, MySQL has a Deactivated status!
Check this file: "/lampp/htdocs/xampp/mysql.php"

You need to change this line:
if(@mysql_connect("localhost","root",""))
(or something similar to that line)
To:
if(@mysql_connect("localhost","root","mypassword"))

Save the file, check the status again.
It should work again.

The same thing happened to me, took me an hour to figure out. :oops:

Re: MySQL database Deactivated status

PostPosted: 12. May 2010 01:27
by strider95
I am having the same problem, but when i tried your solution, it failed. Any other suggestions?