Home > Database > Mysql Tutorial > 教你轻松了解MySQL实例管理器配置文件_MySQL

教你轻松了解MySQL实例管理器配置文件_MySQL

WBOY
Release: 2016-06-01 13:55:54
Original
896 people have browsed it

  Instance Manager使用标准my.cnf文件。它使用[manager]部分为自己读取选项并读取[MySQLd]部分来创建实例。[manager]部分包含上述列出的选项。下面为[manager]部分示例:

# MySQL Instance Manager options section
[manager]
default-mysqld-path = /usr/local/mysql/libexec/mysqld
socket=/tmp/manager.sock
pid-file=/tmp/manager.pid
password-file = /home/cps/.mysqlmanager.passwd
monitoring-interval = 2
port = 1999
bind-address = 192.168.1.5

  MySQL实例管理器只在Unix中读取并管理/etc/my.cnf文件。在Windows中,MySQL实例管理器从Instance Manager的安装目录读取my.ini文件。用--defaults-file=file_ name选项可以更改默认选项文件的位置。

  实例部分指定启动时给每个实例的选项。这些主要是普通MySQL服务器选项,但有一些IM-专用选项:

?mysqld-path =

  mysqld服务器二进制的路径。

?shutdown-delay = Seconds

  IM应等待实例关闭的秒数。 默认为35秒。超过延迟时间后,IM假定实例正挂起并试图“kill

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template