mysql> start slave;
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql> show warnings;
+-------+------+--------------------------+
| Level | Code | Message |
+-------+------+--------------------------+
| Note | 1254 | Slave is already running |
+-------+------+--------------------------+
1 row in set (0.00 sec)
mysql> show slave status\G;
Empty set (0.00 sec)
ERROR:
No query specified
为什么?我做了全新的MYSQL安装。我编辑了My.cnf。我重新开始了这该死的事情。为什么我的Slave不能在MYSQL上启动?
这是我的奴隶的my.cnf
server-id = 2
log_bin = /var/log/mysql/mysql-bin.log
master-host = 68.13.41.41
master-user = replication
master-password = slave
master-port = 3306
这是我的主人的my.cnf:
server-id = 1
log_bin = /var/log/mysql/mysql-bin.log
binlog-do-db=fal
我这样做对主:
GRANT ALL ON *.* TO 'replication'@'theip' IDENTIFIED BY 'slave';
我知道这是旧的。但我有同样的问题。谨慎阐述? – 2013-10-29 14:26:46