I am working with wampserver3.2.0_x64.exe and experienced the following error after installing this most recent version: [2002] No connection could be made because the target machine actively refused it.
After a lot of research I looked in wamp\wampmanager.conf where the [php] has this value:
mysqlDefaultPort= "3306"
Further down [mysql] has this option defined:
mysqlPortUsed = "3308"
Out of the package MySQL and PhpMyAdmin are using port 3308, then Apache and PHP are using 3306 which is the traditional format. You can see this value in the phpinfo() page under mysqli: mysqli.default_port 3306
It is your choice as to which set you want to change. I chose to go with 3306 which required me to change the [mysql] value at mysqlPortUsed = "3308" to 3306. PhpMyAdmin draws from this value so that makes it easy.
Then I did a search in the MySQL packages I have and changed all the port = 3308 to port = 3306 in the following files (I have 2 versions of MySQL installed):
wamp\bin\mysql\mysql5.7.29\bin\mysqld_multi.pl
wamp\bin\mysql\mysql5.7.29\my.ini
wamp\bin\mysql\mysql8.0.18\bin\mysqld_multi.pl
wamp\bin\mysql\mysql8.0.18\my.ini
Thanks for all the work in putting this package together for us!
This is not a bug, but a reading error on your part.
At the end of the installation it says to read the wamp(64)/mariadb_mysql.txt file, which you did not do.
This is repeated in right-click -> Help -> MySQL - MariaDB
So, read!
It is not difficult to understand that with two database managers active simultaneously, each manager has to use a different port.
Full stop.