We all know CPanel sucks but…

I was really unaware of the “level of FAIL” that it was capable of demonstrating… until now.

TO REPRODUCE:
1) frontend/x3/diskusage/index.html , go to a folder with lots of files in it.
2) Click “Size (MB)” column header to sort.
3) Watch cPanel sort a numeric column alphabetically, but don’t blink because
it also auto-refreshes the page a second later with the original by-name sort
order.
4) Be amazed at the level of FAIL exhibited by a product claiming to be in its
11th iteration.

While the guy does an excellent job in describing what the issue is, the wording is somewhat humorous.

CPanel phpMyadmin MySQL Fix

If you end up getting this error

#2002 – The server is not responding (or the local MySQL server’s socket is not correctly configured)

Then you need to do the following.

vi /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

find
$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’;

You should be all set after that…