mysqlsh : mysql shell tutorial

 

MySQL Shell 是一個高級的命令行客戶端以及代碼編輯器for Mysql.html

除了SQL,MySQL Shell也提供腳本能力 for JS and Python.mysql

When MySQL shell is conected to the MySQL server throught the X protocol, the X devAPI can be used to work with both relational and documnet data,sql

官方教程8.0版本第二十章有介紹.shell

MySQL包含AdminAPI,容許你同InnoDB cluster協做.見第21章.session

簡單的option介紹.socket

https://dev.mysql.com/doc/refman/8.0/en/mysqlsh.html編輯器

 

===================TUTORIAL++++++++++++++++++++++++++spa

Features:命令行

Gobal Session: Interactive with a MySQL server is done through a Session object.3d

For SQL mode, the concept of Global session is supported by the mysql shell.

A global session is created when the connection infromation is passed to mysql shell using command options,

or by using the \connect command.here is a example below:

\connect uri;

 此例中輸入錯誤,應該寫成 \connect root@localhost:3306/test後面不能加分號.

1. MySQL Shell Connections

1.1 can connect to mysql server using both the x protocol and the classic mysql protocol.

The address fo the mysql server which you want to connect to can be specified using individual parameters, such as user, houstname and port, or using a Uniform Resource Identifier(URI) type string.

1.2. connectiing to the mysql server.

 

1.2.1 msql shell沒啓動時:使用參數啓動

1.2.2 when mysql shell is running

using the \connect command.

 1.2.3

 以後的在:

https://dev.mysql.com/doc/refman/8.0/en/mysql-shell-connection-options.html

查詢.

相關文章
相關標籤/搜索