MySQL database Deactivated status

Problems with the Linux version of XAMPP, questions, comments, and anything related.

MySQL database Deactivated status

Postby jasius » 30. April 2010 15:19

Hi,

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

thanks

Jonas
jasius
 
Posts: 4
Joined: 27. March 2010 16:35

Re: MySQL database Deactivated status

Postby mickcy » 03. May 2010 19:33

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:
mickcy
 
Posts: 1
Joined: 03. May 2010 19:26

Re: MySQL database Deactivated status

Postby strider95 » 12. May 2010 01:27

I am having the same problem, but when i tried your solution, it failed. Any other suggestions?
strider95
 
Posts: 2
Joined: 08. May 2010 19:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 61 guests