X DevAPI User Guide for MySQL Shell in Python Mode

2.2.2 Connection Option Summary

When using an X DevAPI session the following options are available to configure the connection.

Option

Name

Optional

Default

Notes

TCP/IP Host

host

-

localhost, IPv4 host name, no IP-range

TCP/IP Port

port

Yes

33060

Standard X Plugin port is 33060

MySQL user

user

-

MySQL database user

MySQL password

password

-

The MySQL user's password

Supported authentication methods are:

URI elements and format.

Figure 2.1 Connection URI

Content is described in the surrounding text.

ConnectURI1::= 'user' ':' 'password' '@' 'host' ':' 'port'