get the thread identity : Show « Command MySQL « SQL / MySQL

get the thread identity

| Id | User | Host            | db   | Command | Time | State | Info             |
|  3 | root | localhost:50274 | test | Query   |    0 | NULL  | SHOW PROCESSLIST |
1 row in set (0.00 sec)



Related examples in the same category

1.Determine which functions the running version of MySQL supports with the SQL command SHOW VARIABLES.
2.Determine the computer's time zone with SHOW_VARIABLES
3.The SHOW INDEX statement
5.SHOW TABLES with LIKE clause
6.Ask the server to report the number of connections it's received and its uptime
7.Using SHOW and DESCRIBE to Review Table Structures
8.Returns information about all indexes of the table
9.Show columns command
10.Using the SHOW CREATE TABLE statement
11.Using the SHOW VARIABLES Statement to Retrieve Server System Variable Settings
12.Returning now to the syntax, you can see that a basic SHOW STATUS statement is very straightforward
13.SHOW STATUS statement returns all those status variables whose name contains the string select:
14.Have the root user show the change.
15.Using Show Create Table command to check table
17.To find out the current type of a table, use the SHOW TABLE STATUS statement or SHOW CREATE TABLE
19.Using Database-Related SHOW Statements
20.SHOW DATABASE statement
21.Using Table-Related SHOW Statements
22.This SHOW statement returns more than these columns
23.Add a LIKE clause at the end of a SHOW statement to display information only for column names that match a given pattern
24.To determine the tables a particular database contains, use SHOW TABLES:
25.SHOW DATABASES and SHOW TABLES can each take a LIKE 'pattern' clause
26.Using the SUM function, make a report that shows the total sales numbers in each quarter.
27.Show warnings
28.Show status for a procedure
29.Show create procedure
30.Specify a value in the LIKE clause that includes the string query
31.Listing Existing Tables in a Database with SHOW TABLES
32.Returns a list of all databases
33.Testing Whether a Database Exists
34.Listing Database or Table Names
35.The _ character means "match any character" in pattern strings
36.Determining Existing SPs
37.Monitoring the MySQL Server
38.Returns a list of all tables in dbname
39.Testing Whether a Table Exists
40.Getting Table Structure Information