My Oracle Support Banner

How to Get the OS Thread ID for a MySQL Thread ID or Processlist ID? (Doc ID 2230506.1)

Last updated on APRIL 21, 2021

Applies to:

MySQL Server - Version 5.5 and later
Information in this document applies to any platform.


Correlate a MySQL thread id or processlist id to the operating system thread id.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 MySQL 5.7 and Later
 MySQL 5.6 and Earlier

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.