可以连接,我是一个PHP页面进行测试的..测试成功就显示-1,不成功时就一直提示连接失败!不知道怎么回事儿.101010 14:22:22 InnoDB: Starting shutdown...
101010 14:22:24 InnoDB: Shutdown completed; log sequence number 0 658088204
101010 14:22:24 [Note] D:\ZkeysSoft\MySql\MySQL Server 5.0\bin\mysqld-nt.exe: Shutdown complete101010 14:22:25 InnoDB: Started; log sequence number 0 658088204
101010 14:22:25 [Note] D:\ZkeysSoft\MySql\MySQL Server 5.0\bin\mysqld-nt.exe: ready for connections.
Version: '5.0.85-community-nt-log' socket: '' port: 3306 MySQL Community Edition (GPL)
101010 14:36:33 [Note] D:\ZkeysSoft\MySql\MySQL Server 5.0\bin\mysqld-nt.exe: Normal shutdown101010 14:36:33 InnoDB: Starting shutdown...
101010 14:36:34 InnoDB: Shutdown completed; log sequence number 0 658620551
101010 14:36:34 [Note] D:\ZkeysSoft\MySql\MySQL Server 5.0\bin\mysqld-nt.exe: Shutdown complete101010 14:36:35 InnoDB: Started; log sequence number 0 658620551
101010 14:36:35 [Note] D:\ZkeysSoft\MySql\MySQL Server 5.0\bin\mysqld-nt.exe: ready for connections.
Version: '5.0.85-community-nt-log' socket: '' port: 3306 MySQL Community Edition (GPL)
101010 14:22:24 InnoDB: Shutdown completed; log sequence number 0 658088204
101010 14:22:24 [Note] D:\ZkeysSoft\MySql\MySQL Server 5.0\bin\mysqld-nt.exe: Shutdown complete101010 14:22:25 InnoDB: Started; log sequence number 0 658088204
101010 14:22:25 [Note] D:\ZkeysSoft\MySql\MySQL Server 5.0\bin\mysqld-nt.exe: ready for connections.
Version: '5.0.85-community-nt-log' socket: '' port: 3306 MySQL Community Edition (GPL)
101010 14:36:33 [Note] D:\ZkeysSoft\MySql\MySQL Server 5.0\bin\mysqld-nt.exe: Normal shutdown101010 14:36:33 InnoDB: Starting shutdown...
101010 14:36:34 InnoDB: Shutdown completed; log sequence number 0 658620551
101010 14:36:34 [Note] D:\ZkeysSoft\MySql\MySQL Server 5.0\bin\mysqld-nt.exe: Shutdown complete101010 14:36:35 InnoDB: Started; log sequence number 0 658620551
101010 14:36:35 [Note] D:\ZkeysSoft\MySql\MySQL Server 5.0\bin\mysqld-nt.exe: ready for connections.
Version: '5.0.85-community-nt-log' socket: '' port: 3306 MySQL Community Edition (GPL)
连接失败时会提示ERROR 2006 (HY000): MySQL server has gone away总是几秒可以几秒不可以的.