phpMyAdmin - Error #2002 - MySQL server’s socket is not correctly configured
Posted by Jason Web Hosting Sunday 16 November 2008 8:10 pm
In order to get rid of this issue, edit the file, /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
and search for
$cfg['Servers'][$i]['socket'] = ”;
change to
$cfg['Servers'][$i]['socket'] = ‘/var/lib/mysql/mysql.sock’;
next line
$cfg['Servers'][$i]['connect_type'] = ‘tcp’;
change to
$cfg['Servers'][$i]['connect_type'] = ’socket’;
If this doesn’t fix the issue, make sure Mysql is running on your server and you have a symlink for mysql.sock under /tmp. To create a symlink, execute:
ln -s /varlib/mysql/mysql.sock /tmp
Leave a Reply
You must be logged in to post a comment.
Categories
- Cpanel / WHM (15)
- Linux Hosting (16)
- Linux Plesk (4)
- Linux VPS (3)
Archives
Web Hosting Blogroll
-
Dedicated Server
Dedicated Server Hosting
Load Balancing Server
Load Balanced Servers
VPS Hosting
Virtual Private Servers
cPanel Hosting
Linux Hosting
Windows Hosting
Windows Shared Hosting
Reseller Hosting
Reseller Web Hosting
Windows Reseller
Windows Reseller Hosting
Windows VPS
Windows VPS Hosting
Semi Dedicated Servers
Semi-Dedicated Hosting















