Hi,
How can I see all the queries that are currently running on the database?
I use mysql.
I know you can use mysql_slow.log, but that only show the slow running queries and only after.
I want to know the ones that are currently running.
Solved: See live queries
Solved: See live queries
Last edited by mister_v on Wed Aug 24, 2016 12:20 pm, edited 1 time in total.
Re: See live queries
You can run
That show the queries that are running.
You can also use the following command form the command prompt
-i 1 = interval of 1 second
Code: Select all
mysql> SHOW FULL PROCESSLIST
You can also use the following command form the command prompt
Code: Select all
mysqladmin -u root -p -i 1 processlist;
Re: See live queries
Ok thanks
thats works.
thats works.