Skip to content

Instantly share code, notes, and snippets.

@maranemil
Last active August 29, 2015 14:20
Show Gist options
  • Save maranemil/34e4a8c3ba6d56022525 to your computer and use it in GitHub Desktop.
Save maranemil/34e4a8c3ba6d56022525 to your computer and use it in GitHub Desktop.
Fix for MySQL Socket Error Xampp Lampp phpMyAdmin
// The server is not responding (or the local MySQL server's socket is not correctly configured)
// Change:
$cfg['Servers'][$i]['host'] = 'localhost';
//to
$cfg['Servers'][$i]['host'] = '127.0.0.1';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment