Bug #33540 | No way to reset connection from SQL interface | ||
---|---|---|---|
Submitted: | 27 Dec 2007 18:36 | ||
Reporter: | Morgan Tocker | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: General | Severity: | S4 (Feature request) |
Version: | 5.1.22 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[27 Dec 2007 18:36]
Morgan Tocker
[27 Dec 2007 18:36]
Morgan Tocker
Reset connection patch
Attachment: reset_connection.patch (, text), 2.57 KiB.
[27 Dec 2007 18:40]
Morgan Tocker
Suggested improvement: RESET CONNECTION [ALL|VARIABLES|TEMPORARY_TABLES|ROUTINES|PREPARED_STATEMENTS]
[9 Jan 2008 19:51]
Jeremy Cole
Just a quick comment which I also left on Morgan's blog post: > This doesn't address any character set issues, and I'm not sure it can. > the change user interface used now (since it is not SQL) can easily do > this, though. > For instance, try doing a SET NAMES ucs2; and then RESET CONNECTION; -- > it won't recognize the SQL command.
[2 Dec 2013 14:46]
Morgan Tocker
5.7.3 adds a reset connection option to the protocol: http://dev.mysql.com/doc/refman/5.7/en/mysql-reset-connection.html (No SQL interface yet.)
[28 May 2021 9:43]
MySQL Verification Team
in the mysql command line client you can do this: mysql> resetconnection mysql>