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