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.0
  • MySQL Shell Features
  • Installing MySQL Shell
  • Using MySQL Shell Commands
  • Getting Started with MySQL Shell
  • MySQL Shell Code Execution
    • Active Language
    • Interactive Code Execution
    • Code Autocompletion
    • Editing Code
    • Code History
    • Batch Code Execution
    • Output Formats
      • Table Format
      • Tab Separated Format
      • Vertical Format
      • JSON Format Output
      • JSON Wrapping
      • Result Metadata
    • API Command Line Integration
      • Command Line Integration Overview
      • Command Line Integration Details
        • Command Line Integration for MySQL Shell API Functions
        • Defining Arguments
        • Data Type Handling
        • Command Line Help
        • Support for MySQL Shell Plugins
    • JSON Integration
    • Limitations
  • 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
Related Documentation
MySQL Shell 8.0 Release Notes
MySQL Router 8.0 User Guide
MySQL Router 8.0 Release Notes
Download this Manual
PDF (US Ltr) - 2.1Mb
PDF (A4) - 2.2Mb


version 8.0
9.3
8.4  current
8.0  Japanese
MySQL Shell 8.0  /  MySQL Shell Code Execution

Chapter 5 MySQL Shell Code Execution

Table of Contents

5.1 Active Language
5.2 Interactive Code Execution
5.3 Code Autocompletion
5.4 Editing Code
5.5 Code History
5.6 Batch Code Execution
5.7 Output Formats
5.7.1 Table Format
5.7.2 Tab Separated Format
5.7.3 Vertical Format
5.7.4 JSON Format Output
5.7.5 JSON Wrapping
5.7.6 Result Metadata
5.8 API Command Line Integration
5.8.1 Command Line Integration Overview
5.8.2 Command Line Integration Details
5.9 JSON Integration
5.10 Limitations

This section explains how code execution works in MySQL Shell.


PREV   HOME   UP   NEXT
Related Documentation
MySQL Shell 8.0 Release Notes
MySQL Router 8.0 User Guide
MySQL Router 8.0 Release Notes
Download this Manual
PDF (US Ltr) - 2.1Mb
PDF (A4) - 2.2Mb
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 |