0
명령 프롬프트를 사용하여 mysql에 연결할 때마다 thread_id (이 경우)를 반환합니다. Java (선호) 또는 PHP를 사용하여이 번호를 가져올 수 있습니까?return mysql thread_id
# mysql -h10.10.10.10 -uroot [email protected]
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 64
Server version: 5.0.77-log Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
** 쿼리 ** :'SELECT CONNECTION_ID(); ' –
가 어느 서버에서 연결이 일어나지 않습니다 알 수 있습니까? – shantanuo