| Bug #41327 | FLUSH STATUS docs are inappropriate | ||
|---|---|---|---|
| Submitted: | 9 Dec 2008 12:44 | Modified: | 9 Dec 2008 18:50 |
| Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Documentation | Severity: | S2 (Serious) |
| Version: | 5.0.67 - probably any 5+ | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | qc | ||
[9 Dec 2008 12:44]
Peter Laursen
[9 Dec 2008 15:31]
Sveta Smirnova
Thank you for the report. You quote documentation about 'Max_used_connections', but check 'threads_connedted'. According to http://dev.mysql.com/doc/refman/5.0/en/server-status-variables.html#statvar_Threads_connec... threads_connected shows the number of currently open connections. Only bug I see in the documentation is misprint: Max_used_coNections instead of Max_used_coNNections. This should be fixed.
[9 Dec 2008 15:46]
Peter Laursen
but how could it be 2 open conenctions and next 3 open connections after connecting and disconnecting from another client then? Does the 'mysql' client create two connections and only close one?
[9 Dec 2008 16:07]
Sveta Smirnova
I am sorry: I can not repeat this: always either 1 or 2 threads_connected for 2 clients. Also is interesting why you get 2 threads_connected after you connect with single client.
[9 Dec 2008 17:10]
Paul DuBois
I fixed the typo: Max_user_conections -> Max_user_connections
[9 Dec 2008 17:35]
Peter Laursen
The typo I even did not notice! But I do not understand how 'threads_connected' can end up as "3" following the procedure described! probably SHOW FULL PROCESSLIST would tell if there is a thread left behind from second connection created. I will try that later then! Some other obligations are there for a couple of hours!
[9 Dec 2008 18:50]
Peter Laursen
Problem was a monitoring program connecting to the server! Thanks for fixing the typo!
