Cannot connect to localhost

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

Cannot connect to localhost

Postby manny alvarez » 24. January 2010 01:13

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
manny alvarez
 
Posts: 1
Joined: 23. January 2010 23:05

Re: Cannot connect to localhost

Postby Wiedmann » 24. January 2010 22:39

Is MySQL running?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Cannot connect to localhost

Postby lionelhoguy » 17. February 2010 23:41

I am having the same problem, and MySQL is running. Any help would be appreciated.
Tom
lionelhoguy
 
Posts: 1
Joined: 17. February 2010 23:38

Re: Cannot connect to localhost

Postby kergan@live.com.au » 20. February 2010 22:04

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.
kergan@live.com.au
 
Posts: 3
Joined: 10. February 2010 12:14

Re: Cannot connect to localhost

Postby MC10 » 20. February 2010 22:50

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.
MC10
 
Posts: 148
Joined: 20. February 2010 20:13


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 133 guests