Retrieve the unique connection ID for the current session.
The CONNECTION_ID() function retrieves the unique connection ID assigned to the current connection.
Works in:
From MySQL version 4.0