仅对这个问题的回答很简单,MYSQL从5.1.17起就开始废弃这个参数,并计划在MYSQL6.0中废除这个参数了。对于MySQL6.0我也不熟悉,估计需要浏览一下MySQL6.0的相关文档。http://dev.mysql.com/doc/refman/5.1/en/replication-options-slave.html#option_mysqld_master-host--master-host=host_name The host name or IP number of the master replication server. The value in master.info takes precedence if it can be read. If no master host is specified, the slave thread does not start. This option is deprecated as of MySQL 5.1.17, and removed as of MySQL 6.0.
090525 11:36:16 [ERROR] C:\Program Files\MySQL\MySQL Server 6.0\bin\mysqld: unknown variable 'master-host=192.168.0.1'
090525 11:36:16 [ERROR] Aborting090525 11:36:18 InnoDB: Starting shutdown...
090525 11:36:18 InnoDB: Shutdown completed; log sequence number 0 46409
090525 11:36:18 [Warning] Forcing shutdown of 1 plugins
090525 11:36:18 [Note] C:\Program Files\MySQL\MySQL Server 6.0\bin\mysqld: Shutdown complete
如果没搞,把master-host这项删掉,再试试。