9.2.44 Property MySQLConnection.server_port

This read-only property returns the TCP/IP port used for connecting to the MySQL server.

Returns an integer.