WEB开发网
开发学院数据库MySQL my.cnf文件解释 阅读

my.cnf文件解释

 2007-11-11 14:07:11 来源:WEB开发网   
核心提示:/bin/sh -c 'cd /usr/local/MySQL(和PHP搭配之最佳组合) ; ./bin/safe_MySQL(和PHP搭配之最佳组合)d --user=MySQL(和PHP搭配之最佳组合) &' 你也可以在全局文件/etc/my.cnf中为MySQL(和PHP搭配之最佳组合).s

  /bin/sh -c 'cd /usr/local/MySQL(和PHP搭配之最佳组合) ; ./bin/safe_MySQL(和PHP搭配之最佳组合)d --user=MySQL(和PHP搭配之最佳组合) &'
你也可以在全局文件/etc/my.cnf中为MySQL(和PHP搭配之最佳组合).server添加选项。典型的
`/etc/my.cnf'如下:

[MySQL(和PHP搭配之最佳组合)d]
datadir=/usr/local/MySQL(和PHP搭配之最佳组合)/var
socket=/var/tmp/MySQL(和PHP搭配之最佳组合).sock
port=3306
user=MySQL(和PHP搭配之最佳组合)
[MySQL(和PHP搭配之最佳组合).server]
basedir=/usr/local/MySQL(和PHP搭配之最佳组合)

MySQL(和PHP搭配之最佳组合).server脚本可以识别下列选项: datadir, basedir和pidfile。
下列表格是启动脚本从选项中读取的选项组:

Script Option groups
MySQL(和PHP搭配之最佳组合)d MySQL(和PHP搭配之最佳组合)d and server
MySQL(和PHP搭配之最佳组合).server MySQL(和PHP搭配之最佳组合).server, MySQL(和PHP搭配之最佳组合)d, and server
safe_MySQL(和PHP搭配之最佳组合)d MySQL(和PHP搭配之最佳组合).server, MySQL(和PHP搭配之最佳组合)d, and server

Tags:my cnf 文件

编辑录入:coldstar [复制链接] [打 印]
赞助商链接