Page 1 of 1

Cannot connect to localhost

PostPosted: 24. January 2010 01:13
by manny alvarez
Please help!!!

I'm new and trying to set up my local host and joomla for the first time. I am using windows 7 64 bit. I believe I have XAMPP installed correctly but I can't connect to the server. I am trying to go to localhost/phpmyadmin and I'm getting a response of this.

Error
MySQL said:

#2003 - Can't connect to MySQL server on 'localhost' (10061)

Connection for controluser as defined in your configuration failed.

Can anybody help me???

Thank You

Re: Cannot connect to localhost

PostPosted: 24. January 2010 22:39
by Wiedmann
Is MySQL running?

Re: Cannot connect to localhost

PostPosted: 17. February 2010 23:41
by lionelhoguy
I am having the same problem, and MySQL is running. Any help would be appreciated.
Tom

Re: Cannot connect to localhost

PostPosted: 20. February 2010 22:04
by kergan@live.com.au
I also HAD the same prob with getting this working.

reading the forums looking for answers,
Changing to Static IP
Rewrite the httpd.conf file
change the port settings
and still had problems

in the end I removed everything,
Then right click on my xampp.exe file and ran it as administrator


Loaded, works, and have not had an issue since.

Re: Cannot connect to localhost

PostPosted: 20. February 2010 22:50
by MC10
Please check http://localhost/xampp/status.php to make sure that MySQL is running, then if it is, make sure your firewall isn't blocking it.

About the "Connection for controluser as defined in your configuration failed." error:
Edit "xampp\phpMyAdmin\config.inc.php" and fix the lines that say
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = 'PASSWORD';

replacing "PASSWORD" with the password of the pma account. The pma account should have all privileges in the phpMyAdmin database.