Linux daemon & mysqld is not strictly speaking. daemon is a service and can be divided into two categories: ① stand alone ② super daemon is not strictly speaking, the corresponding port of the service, that .... then, daemon corresponds to the port ...? We can query their ing from/etc/services: [plain]/* The first column is the name of daemon, and the second column is port */[root @ odd ~] # Cat/etc/services | grep-I -- color = auto 'mysql' mysql 3306/tcp # mysql MySQL mysql 3306/udp # MySQL mysql-cluster 1186/tcp # MySQL Cluster Manager mysql -cluster 1186/udp # MySQL Cluster Manager mysql-im 2273/tcp # MySQL Instance Manager mysql-im 2273/udp # the main differences between MySQL Instance Manager and MySQL Instance Manager are: ● stand alone: always open connection ● super daemon: Connection established only when a request is made [plain] [mysql @ odd ~] $ Mysqld_safe & [1] 5230 [mysql @ odd ~] $130610 14:40:14 mysqld_safe Logging to '/home/mysql/log/alert. log '. 130610 14:40:14 mysqld_safe Starting mysqld daemon with databases from/home/mysql/data [root @ odd ~] # Netstat-lntp | grep: 3306 tcp 0 0: 3306 ::: * LISTEN 5550/mysqld. Therefore, it can be determined that mysqld belongs to stand alone. The mysqld STARTUP script is in/etc/init. d/directory, PS: in fact, most of the daemon startup scripts are here. The mysqld PID file is generally in the/var/run/directory. lower