User Tools

Site Tools


mysql_connections

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mysql_connections [2016/02/01 08:59] luke7858mysql_connections [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 1: Line 1:
 === mysql/MariaDB connections === === mysql/MariaDB connections ===
-Log into mysql+^ Variable Name ^ Definition ^ 
 +| Threads_connected | The number of currently open connections. | 
 +| Connections | The number of connection attempts (successful or not) to the MySQL server |
 \\ \\
 Viewing configured connections: Viewing configured connections:
Line 6: Line 8:
 show variables like "max_connections"; show variables like "max_connections";
 </sxh> </sxh>
 +From command line:
 +<sxh bash>
 +mysql -e 'show variables;' | grep max_connections
 +</sxh>
 + 
 +\\
 \\ \\
 View the current connections with: View the current connections with:
Line 20: Line 28:
 show status like 'Con%' show status like 'Con%'
 </sxh> </sxh>
-\\ 
-^ Variable Name ^ Definition ^ 
-| Threads_connected | The number of currently open connections. | 
-| Connections | The number of connection attempts (successful or not) to the MySQL server | 
 \\ \\
 ==== Configuring Maximum Connections ==== ==== Configuring Maximum Connections ====
mysql_connections.1454317197.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki