Skip to Main Content
The world's most popular open source database
Contact MySQL  | 
Login  |  Register
  • MySQL.com
  • Downloads
  • Documentation
  • Developer Zone
Developer Zone Downloads MySQL.com
Documentation
  • MySQL Server
  • MySQL Enterprise
  • Workbench
  • InnoDB Cluster
  • MySQL NDB Cluster
  • Connectors
  • More
  • MySQL.com
  • Downloads
  • Developer Zone
Section Menu:  
Documentation Home
MySQL Shell 8.4
  • MySQL Shell Features
  • Installing MySQL Shell
  • Using MySQL Shell Commands
  • Getting Started with MySQL Shell
    • Starting MySQL Shell
    • MySQL Shell Sessions
      • Creating the Session Global Object While Starting MySQL Shell
      • Creating the Session Global Object After Starting MySQL Shell
      • Scripting Sessions in JavaScript and Python Mode
    • MySQL Shell Connections
      • Connecting using Individual Parameters
      • Connecting using login-path and Options Files
      • Connecting using Unix Sockets and Windows Named Pipes
      • Using Encrypted Connections
      • Using LDAP and Kerberos Authentication
      • Using an SSH Tunnel
      • Using Compressed Connections
        • Compression Control For MySQL Shell
    • Pluggable Password Store
      • Pluggable Password Configuration Options
      • Working with Credentials
    • MySQL Shell Global Objects
    • Using a Pager
    • Cloud Service Configuration
      • Oracle Cloud Infrastructure Object Storage
      • S3-compatible Storage
      • Azure Blob Storage
    • OCI Authentication Connection Options
  • MySQL Shell Code Execution
  • MySQL AdminAPI
  • MySQL InnoDB Cluster
  • MySQL InnoDB ClusterSet
  • MySQL InnoDB ReplicaSet
  • Extending MySQL Shell
  • MySQL Shell Utilities
  • MySQL Shell Logging and Debug
  • Customizing MySQL Shell
  • MySQL Shell Command Reference
Download this Manual
PDF (US Ltr) - 2.3Mb
PDF (A4) - 2.3Mb


version 8.4
9.3
8.0
8.0  Japanese
MySQL Shell 8.4  /  Getting Started with MySQL Shell

Chapter 4 Getting Started with MySQL Shell

Table of Contents

4.1 Starting MySQL Shell
4.2 MySQL Shell Sessions
4.2.1 Creating the Session Global Object While Starting MySQL Shell
4.2.2 Creating the Session Global Object After Starting MySQL Shell
4.2.3 Scripting Sessions in JavaScript and Python Mode
4.3 MySQL Shell Connections
4.3.1 Connecting using Individual Parameters
4.3.2 Connecting using login-path and Options Files
4.3.3 Connecting using Unix Sockets and Windows Named Pipes
4.3.4 Using Encrypted Connections
4.3.5 Using LDAP and Kerberos Authentication
4.3.6 Using an SSH Tunnel
4.3.7 Using Compressed Connections
4.4 Pluggable Password Store
4.4.1 Pluggable Password Configuration Options
4.4.2 Working with Credentials
4.5 MySQL Shell Global Objects
4.6 Using a Pager
4.7 Cloud Service Configuration
4.7.1 Oracle Cloud Infrastructure Object Storage
4.7.2 S3-compatible Storage
4.7.3 Azure Blob Storage
4.8 OCI Authentication Connection Options

This section describes how to get started with MySQL Shell, explaining how to connect to a MySQL server instance, and how to choose a session type.

Important

It is recommended that you always use the most recent version available. The latest version of MySQL Shell can be used with any GA version of MySQL 8.0, or higher.


PREV   HOME   UP   NEXT
Download this Manual
PDF (US Ltr) - 2.3Mb
PDF (A4) - 2.3Mb
Contact MySQL Sales
USA/Canada: +1-866-221-0634   (More Countries »)
  © 2025 Oracle

  • Products
  • HeatWave
  • MySQL Enterprise Edition
  • MySQL Standard Edition
  • MySQL Classic Edition
  • MySQL Cluster CGE
  • MySQL Embedded (OEM/ISV)
  • Services
  • Training
  • Certification
  • Support
  • Downloads
  • MySQL Community Server
  • MySQL NDB Cluster
  • MySQL Shell
  • MySQL Router
  • MySQL Workbench
  • Documentation
  • MySQL Reference Manual
  • MySQL Workbench
  • MySQL NDB Cluster
  • MySQL Connectors
  • Topic Guides
  • About MySQL
  • Contact Us
  • Blogs
  • How to Buy
  • Partners
  • Job Opportunities
  • Site Map
  © 2025 Oracle
Privacy / Do Not Sell My Info | Terms of Use | Trademark Policy |