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

  • SEARCH
  • Home
  • 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 9151481
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:48:47+00:00 2026-06-17T11:48:47+00:00

I have an MySQL InnoDB lock that is preventing a user from logging in.

  • 0

I have an MySQL InnoDB lock that is preventing a user from logging in. I don’t care about the cause of this lock at the moment – I just need to clear the lock without restarting the database. Killing the query process does nothing FYI. Any suggestions? Thanks.

  • 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-06-17T11:48:48+00:00Added an answer on June 17, 2026 at 11:48 am

    Here is how I wound up solving the problem:

    mysql> show engine innodb status\G
    *************************** 1. row ***************************
      Type: InnoDB
      Name: 
    Status: 
    =====================================
    120710 18:05:37 INNODB MONITOR OUTPUT
    =====================================
    Per second averages calculated from the last 37 seconds
    ----------
    SEMAPHORES
    ----------
    OS WAIT ARRAY INFO: reservation count 208374, signal count 196902
    Mutex spin waits 0, rounds 39211638, OS waits 80663
    RW-shared spins 588505, OS waits 68505; RW-excl spins 3204502, OS waits 53586
    ------------
    TRANSACTIONS
    ------------
    Trx id counter 1 3626791829
    Purge done for trx's n:o < 1 3625948819 undo n:o < 0 0
    History list length 6754
    LIST OF TRANSACTIONS FOR EACH SESSION:
    ...
    ---TRANSACTION 1 3625948818, ACTIVE 2892 sec, process no 1981, OS thread id 140020625811200
    2 lock struct(s), heap size 368, 1 row lock(s), undo log entries 1
    
    >>>>> MySQL thread id 14982, query id 232584561 localhost dbuser
    
    Trx read view will not see trx with id >= 1 3625948819, sees < 1 3625948817
    
    mysql> kill 14982;
    Query OK, 0 rows affected (0.00 sec)
    

    Note that the line with the >>>>> is where the MySQL thread ID is defined – it is this thread that should be killed.

    Please see this post as well – very useful.

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

Sidebar

Related Questions

I have MySQL InnoDB table utf-8 encoded. This table has only id and name
I have an InnoDB MySQL database with a table that needs to be able
I have a table in MySQL 5 (InnoDB) that is used as a daemon
I have a development MySQL (InnoDB only) server with several users. Each user has
I have a table in my MySQL ( InnoDB ) full with user items.
Does this cause a race condition with MySQL (InnoDB): Start Transaction. Try to get
I have a question about MySQL InnoDB. For example: I have the following table
Hi mistakenly I have deleted my MySQL database from Windos XP based PC (this
I have a big MySQL InnoDB table (about 1 milion records, increase by 300K
I have this stored in my MySQL InnoDB UTF8 database: <p> At 5'1 (155cm)

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.