Documentation Home
MySQL Shell for VS Code


MySQL Shell for VS Code  /  View MySQL Resources  /  MYSQL SHELL CONSOLES View

Pre-General Availability: 2023-01-18

3.3 MYSQL SHELL CONSOLES View

The MYSQL SHELL CONSOLES view enables you to activate a dedicated work area for opening, saving, and managing MySQL Shell sessions. The MySQL Shell Consoles editor is represented by a single tab. When you close the tab, you also close the console sessions contained within the tab. You can perform the following actions from this view:

MySQL Shell sessions are shown in the MySQL Shell Console Browser. The browser enumerates all of your open sessions. To access a session quickly, use the GUI Console toolbar.

Figure 3.4 MySQL Shell for VS Code - MySQL Shell Console Browser

Content is described in the surrounding text.

For more information, see MySQL Shell Consoles.

Add a new MySQL Shell session from the view's toolbar

Click + (Add a New MySQL Shell Console) in the MYSQL SHELL CONSOLES toolbar to open the MySQL Shell Consoles editor and run the \about command.

Open a new session from the MySQL Shell Console Browser

  1. Click the MySQL Shell Console Browser icon in the MYSQL SHELL CONSOLES toolbar to open the MySQL Shell Consoles tab showing the browser.

  2. Click + New Shell Session, which opens a new Shell session tile.

When you open a new MySQL Shell session, you are not connected to a MySQL server. For more information, see Connecting MySQL Shell Session.

Close a MySQL Shell session

To close the MySQL Shell session, do one following:

  • Right-click a session listed under the MYSQL SHELL CONSOLES view and select Close this MySQL Shell Console.

  • Navigate to a session in the MySQL Shell Console Browser, click the X shown on the top right corner of the MySQL Shell session. The X is only visible when you hover over the MySQL Shell session.