#Enter into mysql console:
mysql
#Then...
#Access to full query:
SELECT * from INFORMATION_SCHEMA.PROCESSLIST where db = 'your_database_name_here'
#Simplest list
show [full] processlist;
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST
# Full query
SELECT * from INFORMATION_SCHEMA.PROCESSLIST where db = 'database_name';
# Running MySQL queries
show [full] processlist;
# Detailed information
SELECT * FROM information_schema.PROCESSLIST p;
SELECT * FROM performance_schema.threads t;
select * from INFORMATION_SCHEMA.PROCESSLIST where db = 'your_database_name_here';