you should not need the port in the address:
http://localhost/php_test/00128-02/00128-02-ecart-launch.php
port 3306 is for the mySQL server, the web browser cannot connect directly to the mySQLQ Server.
it needs to connect to the apache server, the apache server will then connect to the mySQL Server.