• ds1.example.com  is the hostname of the server instance running MySQL. Replace this with the hostname of the MySQL server instance you are using as a Document Store. 

•The default schema for this session is world_x . For instructions on setting up the world_x  schema, see Section 20.4.2, “Download and Import world_x Database” . 

For more information, see Section 4.2.5, “Connecting to the Server Using URI-Like Strings or Key-Value Pairs” . 

Once MySQL Shell opens, the mysql-js>  prompt indicates that the active language for this session is JavaScript. To switch MySQL Shell to Python mode, use the \py  command. 

mysql-js> \py Switching to Python mode... mysql-py> 

MySQL Shell supports input-line editing as follows: 

• left-arrow  and right-arrow  keys move horizontally within the current input line. 

• up-arrow  and down-arrow  keys move up and down through the set of previously entered lines. 

• Backspace  deletes the character before the cursor and typing new characters enters them at the cursor position. 

## Get Help for MySQL Shell 

• Enter  sends the current input line to the server. 

Type mysqlsh --help  at the prompt of your command interpreter for a list of command-line options. 

mysqlsh --help 

Type \help  at the MySQL Shell prompt for a list of available commands and their descriptions. 

mysql-py> \help 

Type \help  followed by a command name for detailed help about an individual MySQL Shell command. 

## Quit MySQL Shell 

## Related Information 

For example, to view help on the \connect  command, issue: 

mysql-py> \help \connect 

To quit MySQL Shell, issue the following command: 

mysql-py> \quit 

•See Interactive Code Execution for an explanation of how interactive code execution works in MySQL Shell. 

•See Getting Started with MySQL Shell to learn about session and connection alternatives. 

## 20.4.2 Download and Import world_x Database 

As part of this quick-start guide, an example schema is provided which is referred to as the world_x schema. Many of the examples demonstrate Document Store functionality using this schema. Start your MySQL server so that you can load the world_x  schema, then follow these steps: 

