Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 781 to server version: 6.23.57-MaxType 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql> SHOW PROCESSLIST;
+-----+------+-----------------+----------------+---------+------+-------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+-----+------+-----------------+----------------+---------+------+-------+------------------+
| 690 | user | 192.168.1.110 | test | Sleep | 7472 | NULL | PROCESSLIST |請教Mysql問題
1,如上:其中MySQL connection id is 781 ,和列表格中的ID各指的什么,
還有沒有其它的ID,用什么指令可以查看。
2,可否知道這個服務器連接用戶的歷史記錄,用什么方法。
3,用此方法得到自已外部IP,是否可行,會不會對Mysql服務器帶來影響。
Your MySQL connection id is 781 to server version: 6.23.57-MaxType 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql> SHOW PROCESSLIST;
+-----+------+-----------------+----------------+---------+------+-------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+-----+------+-----------------+----------------+---------+------+-------+------------------+
| 690 | user | 192.168.1.110 | test | Sleep | 7472 | NULL | PROCESSLIST |請教Mysql問題
1,如上:其中MySQL connection id is 781 ,和列表格中的ID各指的什么,
還有沒有其它的ID,用什么指令可以查看。
2,可否知道這個服務器連接用戶的歷史記錄,用什么方法。
3,用此方法得到自已外部IP,是否可行,會不會對Mysql服務器帶來影響。
表格中的690是进程id,服务器的执行任务这种的某一个,这是某一个的id。
可以知道,在日志中。
不会对服务器造成影响。