after the start apache server, i could not access PHPMyAdmin. when i try to access i get an error and auto-stop MySQL server.
- mysqli_real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it. - Connection for controluser as defined in your configuration failed. mysqli_real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it. - phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection..
how can i solve this error
2
Answers
Add below line under config.inc.php
$cfg['Servers'][$i]['port'] = 8111;
If you are on Windows os and the above solution does not work, just check if your mysql is running with "netstat -ano" command, if the services are not running just try starting the mysql service.