MySQL — Common Ports
Community software entries: links are references, not individual verification.
Default Ports (1)
MySQL classic protocol defaults to TCP 3306. A local Unix-socket connection may bypass TCP entirely, so a port check alone cannot establish whether MySQL is running.
Default port for MySQL database server
Scope
Port associations on this page are community-database references (common usage), not a live measurement of any machine; confirm with the official documentation before deployment.
Frequently asked questions
What port does MySQL use?
MySQL commonly uses these ports: 3306. The default port is 3306. These are community database references — actual configuration may differ.
How do I check if MySQL is running?
Run sudo ss -tlpn 'sport = :3306' on the server to check for listening processes on these ports. Also use systemctl status <service> to check the service state. Without root you may not see other users' processes. A listening port alone does not prove the software identity — verify with the config file and process name.
What category does MySQL belong to?
MySQL belongs to the Database category. This page lists the software's port associations and their roles.
Quick Info
- Categories
- Database
- Associated ports
- 1
- Aliases
- —