MySQL follows a client/server model: the mysqld daemon process runs on the server, managing databases and processing queries; client programs (SQLyog, phpMyAdmin, application connectors) connect over TCP/IP or a Unix socket to send SQL and receive results.