我安装的文件包是APMServ5.2.0 
装在windows XP里
里面的MySQL有4.0 和 5.0
使用的版本是4.0的
端口为 3306
在mysql目录下有个配置文件 my.ini 
原内容如下:[mysqld]
basedir=E:/APMServ5.2.0/MySQL4.0
datadir=E:/APMServ5.2.0/MySQL4.0/data
port=3306
key_buffer=16M
max_allowed_packet=1M
table_cache=128
thread_cache=8
join_buffer_size=512K
sort_buffer=512K
record_buffer=512K
max_connections=500
wait_timeout=120
interactive_timeout=120
max_connect_errors=3000
long_query_time=1
max_heap_table_size=16M
tmp_table_size=8M
thread_concurrency=8
myisam_sort_buffer_size=8M在mysql/date目录下有
hot.err
ib_arch_log_0000000000
ib_logfile0
ib_logfile1
ibdata1
等文件,可以查看到hot.err文件内容,但是无法执行 
mysql> mysqlbinlog ib_logfile0; 
ERROR 2006:MySQL server has gone away
No connection. Trying to reconnect...
Connection id : 8
Current database: ***NONE ***ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds 
to your MySQL server version for the right syntax to use near 'mysqlbinlog ib_logfile0' at line 1执行
mysql> show master status;
ERROR 2013: Lost connection to MySQL server during query执行
mysql>show variables like 'log_bin';log_bin | OFF
尝试添加过
log_bin=1
然后重新启动mysql服务。依然没有办法执行 
show master status
mysqlbinlog ib_logfile0
请教问题原因和解决办法~谢谢。