mysql get task list code example
Example: myswql show full processlist
select * from INFORMATION_SCHEMA.PROCESSLIST where db = 'your_database_name_here';
select * from INFORMATION_SCHEMA.PROCESSLIST where db = 'your_database_name_here';