What is the default port in MySQL?
Here are three common default ports used in MySQL:
-
The default port for MySQL protocol is
3306
, which is used by the mysql client, MySQL Connectors, and utilities such as mysqldump andmysqlpump. -
The default port for MySQL X Protocol (MySQL Database Extended Interface) is
33060
. -
The default port when you connect to MySQL via SSH Tunnel is
22
.
When connecting to a MySQL database using TablePlus, if you leave the port field blank, it will use the default port.
Need a good GUI Tool for MySQL? TablePlus is a modern, native tool with an elegant UI that allows you to simultaneously manage multiple databases such as MySQL, PostgreSQL, SQLite, Microsoft SQL Server and more.
Download TablePlus for Mac. It’s free anyway!
Not on Mac? Download TablePlus for Windows.
On Linux? Download TablePlus for Linux
Need a quick edit on the go? Download TablePlus for iOS.