Change port 3306 to 3307 on Wampserver

1. Right click on WampServer tray icon

2. Got to Mysql=>my.ini File.

3.Open my.ini File.

4.change the mysql port.

Look for this line

# The MySQL server
[wampmysqld]
port = 3306
#
#
[mysqld]
port=3306

5.Change both instances to another port (i.e. 3307)

6.Save my.ini File,

7.Restart Wamp MYSQL

8.Done.

we have changed the default port for MySQL from 3306 to 3307.