select host as ip from information_schema.processlist;
mysql> select host as ip from information_schema.processlist;
+--------------------+
| ip |
+--------------------+
| 10.10.10.100:41483 |
| 10.10.10.100:51887 |
| localhost |
+--------------------+
3 rows in set (0.00 sec)