astewart

Registered
Aug 14, 2002
4
0
151
Whenever we click on this clients phpMyAdmin link in his cpanel, we get the following error message.

The host name is empty!

Any idea what the cause/fix is for this?
 

kosmo

Well-Known Member
Verifed Vendor
Aug 12, 2001
400
0
316
All over Europe
confirm.
 

Annette

Well-Known Member
PartnerNOC
Aug 12, 2001
445
0
316
To resolve this, go to:

/usr/local/cpanel/base/3rdparty/phpMyAdmin

Open the file config.inc.php, and scroll down to the first server config line:

$cfgServers[$i]['host'] = 'localhost'; // MySQL hostname

If that line does not have 'localhost' entered as the hostname as above, insert it, and save the file. phpMyAdmin will now function properly.