Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7496433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T18:36:39+00:00 2026-05-29T18:36:39+00:00

MySQL replication got broken with the last error being Last_Errno: 1580 Last_Error: Error ‘You

  • 0

MySQL replication got broken with the last error being

Last_Errno: 1580 Last_Error: Error ‘You cannot ‘ALTER’ a log table if
logging is enabled’ on query. Default database: ‘mysql’.

Seems this is the fault of running mysql_upgrade for version 5.1.61
I’ve found a few bug reports but didn’t find how to remedy the situation once the upgrade has already been performed on the master.

Any ideas?

Refs:
http://bugs.mysql.com/bug.php?id=39133
http://bugs.mysql.com/bug.php?id=43579
http://bugs.mysql.com/bug.php?id=46638

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T18:36:40+00:00Added an answer on May 29, 2026 at 6:36 pm

    Seems I’ll be answering my own question. Trying to alter a log table while logging in enabled creates the error. I really don’t understand how the MASTER could execute that query as it has the same logging in place and if it did, then why can’t the SLAVE do the same? I’ll be happy to read explanations but for now let’s focus on the solution.

    To see the error that broke the replication execute

    SHOW SLAVE STATUS\G
    and you will see the trouble making query

    You can now stop the slave

    STOP SLAVE;

    Disable the relevant logs (don’t copy+paste this but check your own configuration first!):

    SET GLOBAL slow_query_log = ‘OFF’;

    Restart the slave

    START SLAVE;

    See no errors are shown on

    SHOW SLAVE STATUS\G

    and enable the relevant logs again:

    SET GLOBAL slow_query_log = ‘ON’;

    Let me know if this helped.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running a master-slave MySQL binary log replication system (phew!) that, for some data,
I'm trying to set up replication in MySQL but I am being given an
I have a fairly good feel for what MySQL replication can do. I'm wondering
I currently have replication setup on MySQL 4.1 (master, named radius) to MySQL 5.0
We started using Multi-Master Replication Manager for MySQL, and I am wondering whether it
Basically I want to setup a replication server for mysql datbase. I am completely
Is it possible to apply the Replication mechanism on single MySQL server? I want
I'm setting up MySQL replication via binlog. It's a master / slave setup. I
In a MySQL master-slave replication enviroment if I have 4 slave servers how can
I have set up replication for MySQL server. I can connect from the slave

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.