You need to modify the phpMyAdmin configuration file to connect to the MySQL database and open the config.inc.php file with Notepad
1<?PHP2 3 /*Servers Configuration*/4 $i= 0;5 6 /*server:localhost [1]*/7 $i++;8 $cfg[' Servers '] [$i[' verbose '] = ' localhost ';9 $cfg[' Servers '] [$i[' host '] = ' localhost ';Ten $cfg[' Servers '] [$i[' port '] = ' 3306 '; One $cfg[' Servers '] [$i[' socket '] = '; A $cfg[' Servers '] [$i[' connect_type '] = ' TCP '; - $cfg[' Servers '] [$i[' extension '] = ' mysqli '; - $cfg[' Servers '] [$i[' auth_type '] = ' config '; the $cfg[' Servers '] [$i[' user '] = ' root '; - $cfg[' Servers '] [$i[' password '] = '; - $cfg[' Servers '] [$i[' allownopassword '] =true; - + /*End of servers configuration*/ - + $cfg[' defaultlang '] = ' en-utf-8 '; A $cfg[' serverdefault '] = 1; at $cfg[' uploaddir '] = '; - $cfg[' savedir '] = '; - - - /*rajk-for blobstreaming*/ - $cfg[' Servers '] [$i[' bs_garbage_threshold '] = 50; in $cfg[' Servers '] [$i[' bs_repository_threshold '] = ' 32M '; - $cfg[' Servers '] [$i[' bs_temp_blob_timeout '] = 600; to $cfg[' Servers '] [$i[' bs_temp_log_threshold '] = ' 32M '; + - the?>
PhpMyAdmin tries to connect to the MySQL server, but the server rejects the connection. You should check the host, user name, and password in the configuration file