- Port
- 3306
- Protocol used by the service
- TCP
- IANA registrations
- TCP/UDP
- Encryption
- Varies by configuration
- IANA description
- MySQL
- IANA service name
- mysql
Note: IANA has formally registered MySQL on TCP/UDP, but in real-world practice this service operates over TCP only — a formal registration on a transport doesn't guarantee the protocol is actually implemented or used over it. This page's Protocol field reflects genuine usage, not just the registry entry.
What port 3306 is used for
Default listener port for MySQL and MariaDB database connections from applications and administration tools.
Is port 3306 encrypted?
Supports TLS encryption for client connections, but it must be explicitly configured — many deployments run without it, especially on networks assumed to already be trusted.
Firewall & exposure considerations
Should be firewalled to known application servers only, never exposed to the open internet — automated scanning tools routinely probe for reachable database ports, and instances left with weak or default credentials are a common target.
Related ports
References
Look up any other port
Search the full IANA registry — all 6,100+ ports and 12,500+ protocol-specific records — on the Port Lookup tool.
Last reviewed: . Data source: IANA Service Name and Transport Protocol Port Number Registry. Security and usage notes are this site's own editorial content, not official IANA data.