CONNECTION_ID « Information Functions « MySQL Tutorial






20.6.CONNECTION_ID
20.6.1.CONNECTION_ID() returns the connection ID (thread ID) for the connection.