Answer
A deadlock occurs when two transactions wait indefinitely for each otherβs locks. MySQL resolves it by rolling back one.
Sign in to access all features and personalize your learning experience.
Source: SugharaIQ