Wednesday, July 27, 2011

Find out what port MySQL is using / Change port mysql is using

Sometimes you forget the port mysql is running on.

Solution :-

1.) Open my.ini file
2.) locate [mysqld]

# The TCP/IP Port the MySQL Server will listen on
port=3306

You can change the port mysql listens to my by assigning a new value to port. After that make sure to restart mysql server.

No comments:

Post a Comment