Home >Database >Mysql Tutorial >查看MYSQL连接_MySQL

查看MYSQL连接_MySQL

WBOY
WBOYOriginal
2016-06-01 13:47:10824browse

bitsCN.com

show status; 当前连接数
| Tc_log_max_pages_used | 0 |
| Tc_log_page_size | 0 |
| Tc_log_page_waits | 0 |
| Threads_cached | 0 |
| Threads_connected | 107 |
| Threads_created | 3252 |
| Threads_running | 104 |
| Uptime | 863

show variables; 当前设置连接数
max_binlog_cache_size | 4294967295 |
| max_binlog_size | 1073741824 |
| max_connect_errors | 10 |
| max_connections | 2000 |
| max_delayed_threads | 20 |
| max_error_count | 64 |
| max_heap_table_size | 16777216

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn