每当我使用命令提示符连接到mysql时,它都会返回一个thread_id (本例中是64)。是否可以使用Java (首选)或PHP获得这个数字?
# mysql -h10.10.10.10 -uroot -proot@123
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.发布于 2011-05-04 04:45:56
https://stackoverflow.com/questions/5878585
复制相似问题