MySQL Open Port 3306 on Ubuntu

mysql-databases

1. The default form MySQL Server is to be binding to localhost (127.0.0.1), which means it only accepts connections from local applications.

2. To change it, open up your terminal. Find port 3306.

2013-06-29_094339

 

3. Change to root user and edit the below file.

2013-06-29_094405

4. Place a hash (#) at the beginning of the line.

2013-06-29_094452

 

5. Restart your MySQL Server.

2013-06-29_094521

 

6. Test remote connection.

2013-06-29_094048

Leave a comment