mysql安装在d:\mysqlmy.cnf# Example mysql config file.
# Copy this file to c:\my.cnf to set global options

# One can use all long options that the program supports.
# Run the program with --help to get a list of available options# This will be passed to all mysql clients
[client]
#password=my_password
port=3306
#socket=MySQL# Here is entries for some specific programs
# The following values assume you have at least 32M ram# The MySQL server
[mysqld]
port=3306
#socket=MySQL
skip-locking
default-character-set=gbk
set-variable = key_buffer=16M
set-variable = max_allowed_packet=1M
set-variable = thread_stack=128K
set-variable = flush_time=1800# Uncomment the following row if you move the MySQL distribution to another
# location
#basedir = d:/mysql/[mysqldump]
quick
set-variable = max_allowed_packet=16M[mysql]
no-auto-rehash[isamchk]
set-variable= key=16M[client_fltk]
help_file= d:\mysql\sql_client\MySQL.help
client_file= d:\mysql\MySQL.options
history_length=20
database = test
queries_root= d:\mysql\queries
last_database_file= d:\mysql\lastdbmy.ini (支持中文)
#This File was made using the WinMySQLAdmin 1.4 Tool
#2002-8-4 23:10:46#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions[mysqld]
basedir=D:/mysql/
#bind-address=192.168.0.1
datadir=D:/mysql/data
#default-character-set=gbk
#character_set=gbk
#language=D:/mysql/share/
#slow query log#=
#tmpdir#=
#port=3306
#set-variable=key_buffer=16M
set-variable=default-character-set=gbk
max_connections=256
max_user_connections=256
[WinMySQLadmin]
Server=D:/mysql/bin/mysqld-max-nt.exe
user=root
password=