#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
while configuring phpMyAdmin
Solution
1. Apabila Anda mengetik localhost diAddress Bar dan tidak bisa masuk xampp, maka ganti dengan 127.0.0.1
2. Buka config.inc.php
3. Ubah semua isi config.inc.php dengan kode script dibawah ini
4. Dan jangan lupa ganti localhost dengan 127.0.0.1
<?php
/* Servers configuration */
$i = 0;
/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '/tmp/mysql.sock';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/* End of servers configuration */
$cfg['DefaultLang'] = 'en-utf-8';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>
Tidak ada komentar:
Posting Komentar