Thursday, 7 May 2015

Show MySQL Port

What is the open port that your MySQL is using? By default it should be 3306, but in any case that you might have changed it during the installation then perhaps you could include the port number in your connection string.

You can check it via the MySQL command line client by typing:

SHOW variables LIKE 'port';

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...