Bug #86118 No reconnect for shell commands
Submitted: 27 Apr 2017 18:29 Modified: 5 Sep 2017 9:44
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Shell General / Core Client Severity:S3 (Non-critical)
Version:1.0.9 OS:Any
Assigned to: CPU Architecture:Any

[27 Apr 2017 18:29] Daniël van Eeden
Description:
'use test;' -- does reconnect if the connection is lost
'\use test' -- does not reconnect

How to repeat:
mysql-sql> \use test
MySQL Error (5166): MySQL server has gone away
mysql-sql> \use test
MySQL Error (5166): MySQL server has gone away
mysql-sql> \use test
MySQL Error (5166): MySQL server has gone away
mysql-sql> use test;
ERROR: 5166: MySQL server has gone away
The global session got disconnected.
Attempting to reconnect to 'msandbox@localhost:33060'..
The global session was successfully reconnected.
[28 Apr 2017 12:26] MySQL Verification Team
Hello Daniël,

Thank you for the report.
Verified as described.

Thanks,
Umesh
[5 Sep 2017 9:44] Margaret Fisher
Posted by developer:
 
Changelog entry added for MySQL Shell 8.0.3. Closing.