5.4 Client Connections

The client connection browser lists the active and sleeping MySQL client connections, and adds the ability to kill statements and connections, and view additional connection details and attributes. The following figure shows an example of client connection information for a local host.


The connection details viewer requires MySQL 5.6 or higher. Only basic connection information is available for previous versions of MySQL, such as the connection hosts, database, and state.

Figure 5.27 Client Connection Overview

Content is described in the surrounding text.

Client Connections and Metadata Locks

The Client Connections management window includes a Show Details for connections to MySQL 5.6 and higher, as the following figure shows. These details are separated into three tabs:

  • Details: connection details such as Process ID, Type, User, Host, Instrumented, and additional information.

    Figure 5.28 Client Connections Details

    Content is described in the surrounding text.

  • Locks: MySQL uses metadata locking to manage access to objects such as tables and triggers. Sometimes a query might be blocked while being manipulated by another connection from another user. The Locks feature (shown in the following figure) utilizes these MySQL metadata locks (MDL) to show the locked connections that are blocked or being waiting on, and shows information about the locks, what they are waiting for, and what they hold.

    Figure 5.29 Metadata Locks Browser

    Content is described in the surrounding text.


    The metadata lock information is provided in the performance schema as of MySQL server 5.7.3.

  • Attributes: these are connection attributes such as OS, Client Name, Client Version, and Platform. The following figure shows a set of attributes and values.

    Figure 5.30 Client Connection Attributes

    Content is described in the surrounding text.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.