Problems with MySql connection
Posted: 03. August 2006 00:00
Hi. I have a problem with MySql connection.
Have just installed XAMPP on Win XP. Apache service is up and running fine, but when I try to connect to db i get this error-message:
When I check for status in the xampp dir I get that MySql is "deactivated" - but in the task manager I can see that mysqld.exe is running. And when I check for security in the xampp dir I get this:
Have tried to reset password without luck. Have checked in WinMySQLAdmin and in config.inc in phpMyAdmin - and the user is "root" and password is "" in both places.
Seems that i´m running out of options and i really hope that someone out there can help me out on this one.
Have just installed XAMPP on Win XP. Apache service is up and running fine, but when I try to connect to db i get this error-message:
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query in C:\Xampp\xampp\htdocs\xampp\cds.php on line 64
Could not connect to database!
Is MySQL running or did you change the password?
When I check for status in the xampp dir I get that MySql is "deactivated" - but in the task manager I can see that mysqld.exe is running. And when I check for security in the xampp dir I get this:
The MySQL admin user root has no longer no password
Have tried to reset password without luck. Have checked in WinMySQLAdmin and in config.inc in phpMyAdmin - and the user is "root" and password is "" in both places.
Seems that i´m running out of options and i really hope that someone out there can help me out on this one.