- 论坛徽章:
- 0
|
原帖由 林泥克斯 于 2006-7-3 18:00 发表
安装mysql时要指定目录的。如果你指定的目录不是/etc那你创建了也没用。如果是/etc那就创建一个。
兄台,你看的那本书上这么教你的啊?
你看看 my.cnf 示例文件的开头说明。
# Example MySQL config file for medium systems.
#
# This is for a system with little memory (32M - 64M) where MySQL plays
# an important part, or systems up to 128M where MySQL is used together with
# other programs (such as a web server)
#
# You can copy this file to
# /etc/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is /usr/local/mysql5/var) or
# ~/.my.cnf to set user-specific options.
#
# In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program
# with the "--help" option. |
|