default port for mysql server code example
Example 1: What is the default port for MySQL server?
The default port for MySQL server is 3306
Example 2: mysql default port number
Client - Server Connection Ports
Port 3306 is the default port for the classic MySQL protocol