by Tektek » 30. May 2013 22:12
Hi,
I have also the same problem. I have tried all of the above suggestions, but it still does not work.
I have tried the following:
1. run resetroot.bat in mysql;
2. http://localhost/security/index.php to reset one password;
3. in config.inc.php, I have changed to the following setting:
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'testtesttest'; <- new password
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'socket';
$cfg['Servers'][$i]['compress'] = false;
4. in my.ini file I have also changed to new password:
password = testtesttest
port = 3306
socket = "/xampp/mysql/mysql.sock"
default-character-set = utf8
It still can not be connected. What is still missing at me? Thanks!
The original error is:
--------------------------------------------
Fehler
MySQL meldet:
#2002 -
Der Server antwortet nicht (evtl. ist der Socket des lokalen MySQL-Servers nicht korrekt konfiguriert).
Verbindung für den controluser, wie er in Ihrer Konfiguration angegeben ist, ist fehlgeschlagen.
-------------------------------------------
my SW version:
xampp: 1.8.1
os: windows 7
xampp control panel version: 3.1.0
Last edited by
Tektek on 30. May 2013 22:31, edited 1 time in total.