Display Full SQL Query in Show Processlist of MySQL

»»»Display Full SQL Query in Show Processlist of MySQL
In MySQL database system, by default the SHOW PROCESSLIST query displays only first 100 characters of the running SQL query or SQL statement in the Info column. The limited and trimmed length of SQL statement may prevent some important information about the SQL statement from been accessed and studied, especially when the SQL statement that is significantly longer than 100 characters.

Here’s the SQL statement to use in you want to display the full SQL statement or query that is been processed by MySQL, so that it will return the complete SQL query including those exceeding 100 characters without truncating:

SHOW FULL PROCESSLIST

Show Full Queries

If you’re using phpMyAdmin, click on the “Show Full Queries” option (the ← T → symbol on top left corner or next to SQL query heading of a MySQL Server Processes results page) to view the full and complete SQL query without truncation.

By | 2016-12-09T08:38:43+00:00 December 9th, 2016|Categories: Databases|Tags: , , |0 Comments

About the Author:

LK is a technology writer for Tech Journey with background of system and network administrator. He has be documenting his experiences in digital and technology world for over 15 years.Connect with LK through Tech Journey on Facebook, Twitter or Google+.

Pin It on Pinterest

Share This

Share This

Share this post with your friends!