SQL
MySQL CONNECTION_ID() Function
Return the unique connection ID for the current connection: