Documentation Home
MySQL Shell for VS Code


MySQL Shell for VS Code  /  MySQL Shell Consoles  /  Console Browser

Pre-General Availability: 2024-10-04

5.1 Console Browser

The MySQL Shell Console Browser is a central location for managing MySQL Shell sessions. In MySQL Shell, connections to MySQL server instances are handled by a session object.

From the browser, you can:

  • Add a new console session and open it in the editor.

  • Select an existing console session and switch to it in the editor.

  • Close an existing console session.

  • Access helpful information related to MySQL Shell.

The browser is tightly integrated with the GUI Console toolbar. When a session is added or removed from within the browser, it is also added or removed from the OPEN EDITORS view and toolbar lists at the same time.

To open the browser:

  1. Click DB Connections under OPEN EDITORS to open or activate the MySQL Shell tab.

  2. In the tab, navigate to the Open New Shell Console icon near the Editor list of the toolbar. For the icon's location, see the arrow in the following figure.

  3. Click the icon, which opens a new shell session in the MySQL Shell Consoles tab.

  4. In the MySQL Shell Consoles tab, navigate to the GUI Console toolbar and select MySQL Shell Consoles from the drop-down list.

Note

Sessions are not persistent. When you close the MySQL Shell Consoles tab or exit the Visual Studio Code program, all GUI console sessions also close.

Figure 5.2 MySQL Shell Consoles

Content is described in the surrounding text.