MySQL Forums
Forum List  »  MySQL Workbench

Re: MySQL Workbench
Posted by: Henrique Garcia
Date: April 28, 2026 11:28AM

Hi Nick, how are you?

MySQL Workbench connects to a server, not to a single database.
Disconnecting or deleting a schema does not close the server connection, so commands may still run against the previously selected (or default) database.

You can change the active database explicitly using:
USE db_name;

Editor vs command-line differences are usually caused by session state, selected schema, or client-side parsing in Workbench, not by the MySQL server itself.


Best regards,
Henrique Garcia.

Options: ReplyQuote


Subject
Views
Written By
Posted
217
April 01, 2026 11:00AM
Re: MySQL Workbench
37
April 28, 2026 11:28AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.