通过 Linux 系统线程查找 MySQL 8.0 进程的线程
更新:HHH   时间:2023-1-7


查看 MySQL 进程 ID

ps -ef | grep mysqld


查看 MySQL 的系统线程

top -Hp 14809


通过系统线程查看 MySQL 线程

select * from performance_schema.threads where THREAD_OS_ID=13730\G


查询相应的 processlist

select * from information_schema.processlist where id=756\G

返回MySQL数据库教程...