- 论坛徽章:
- 11
|
回复 8# 聆雨淋夜
1.socket我也讲解不来,网上看了一些也是一知半解,7楼说的socket分服务端和客户端,是指服务端启动的时候要建立一个socket文件,客户端连接的时候要通过一个socket文件,分的是他们两者调用的参数,而文件其实使用的是同一个。
2.echo "Manager PID file is $pid_file, Server PID file is $server_pid_file"
This is particularly important if you are running multiple instances of MySQL on the same server as the datadir is where the script looks for the pid file. Getting this wrong will easily lead to different instances of MySQL sharing the same pid file. The result will be that any mysql stop will stop the last instance startet, not the one intended!
line51:供用户设置pid_file变量的值(如果希望用mysqlmanager启动server,则设置这个变量),默认值为空
line52:供用户设置server_pid_file变量的值(如果希望用mysqld_safe启动server,则设置这个变量),默认值为空
以上信息网上收刮来的
默认以mysqlmanager启动,mysqld_safe是多实例时用到的。 |
|