Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Mysql dump import shows error 1556 (HY000) "you can't use locks with log tables"

$
0
0

I'm trying to setup a replication slave for an existent MySQL server.

Therefore I dumped all data from the master like this: mysqldump --skip-lock-tables --single-transaction --flush-logs --hex-blob --master-data=1 -A | gzip > /shared/dump.sql.gz

Then I transferred the dump to the slave, "RESET SLAVE" and try to import it again like this: gunzip < /dumps/dump.sql.gz | mysql -u root -p

It runs for some minutes then, but after that it displays this error: ERROR 1556 (HY000): "You can't use locks with log tables."

I searched on the web and found this: https://bugs.mysql.com/bug.php?id=37748 They say you should use the "--skip-lock-tables" option, but I do that already (see above).

What am I doing wrong here?

The MySQL version on both master and slave is exactly the same: 5.0.51a (unfortunately it cannot be updated at the moment).

Thanks in advance for any tips!


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>