把my.cnf文件拷到C:\  
我的是在 E:
# Example mysql config file.
# Copy this file to d:/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=latin1
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/lastdb