老大,我用的windows的安装包,配置如下:
#######################################################################
# File name: my.ini
# Created By: The Uniform Server Development Team
# Edited Last By: Mike Gleaves (ric)
# V 1.0 5-12-2009
########################################################################
# The following options will be passed to all MySQL clients
[client]
port=3306
[mysql]
default-character-set=utf8
# SERVER SECTION The following options will be read by the MySQL Server.
[mysqld]
port=3306
server-id = 1
pid-file=mysql.pid
default-character-set=utf8
default-storage-engine=MYISAM
skip-locking
# Folder paths
basedir = "E:/zentao/usr/local/mysql/"
datadir = "E:/zentao/usr/local/mysql/data/"
tmpdir = "E:/zentao/tmp/"
max_connections=100
query_cache_size=8M
table_cache= 64
table_open_cache = 64
tmp_table_size=5M
thread_cache_size=8
#*** MyISAM Specific options
myisam_max_sort_file_size=256M
myisam_sort_buffer_size=8M
key_buffer_size=8M
net_buffer_length= 8K
read_buffer_size=64K
read_rnd_buffer_size=185K
sort_buffer_size=139K
key_buffer = 16K
max_allowed_packet = 1M
sort_buffer = 64K
net_buffer_length = 2K
thread_stack = 192K
# Note: The innodb block is enabled/disabled using a single line
# Uncomment the next line to disable innodb tables. Comment line to enable innodb tables
skip-innodb
innodb_data_home_dir = "E:/zentao/usr/local/mysql/data/"
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = "E:/zentao/usr/local/mysql/data/"
innodb_log_group_home_dir = "E:/zentao/usr/local/mysql/data/"
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
innodb_buffer_pool_size = 16M
innodb_additional_mem_pool_size = 2M
innodb_log_file_size = 5M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50
[mysqldump]
quick
max_allowed_packet=16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[isamchk]
key_buffer=8M
sort_buffer=8M
[myisamchk]
key_buffer=8M
sort_buffer=8M
[mysqlhotcopy]
interactive-timeout
真是没找到什么问题,古狗了1067,基本上也没找出来问题....
我系统是win server 2008 r2的,和这个会有关系吗?