Blogging / Computer projects

Fixing the phpMyAdmin error: Cannot log in to the MySQL server

Copy config.sample.inc.php to config.inc.php. This error means the database connection has failed. Edit config.inc.php:  

Replace $cfg['Servers'][$i]['host'] = 'localhost'; with $cfg['Servers'][$i]['host'] = '127.0.0.1';

Published 05/31/2018 · Krunk Zhou

Join the conversation