MySQL CONNECTION_ID() Function
Example
Return the unique connection ID for the current connection:
SELECT CONNECTION_ID();
Try it Yourself »
Definition and Usage
The CONNECTION_ID() function returns the unique connection ID for the current connection.
Syntax
CONNECTION_ID()
Technical Details
Works in: | From MySQL 4.0 |
---|
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.