PyMySQL
, a Python library that allows you to use Python code to run SQL commands on the MatrixOne database.
The required arguments to establish a connection are as follows:
user
is the username associated with the database.password
is the password to authenticate your access.host
is the hostname or IP address of the database.port
is the port through which TCP/IP connection is to be made.database
is the database name to be connected.ssl
indicates whether SSL is enabled (True
) or disabled (False
).ssl_ca
is the SSL Certificate Authority.ssl_cert
stores the SSL certificates.ssl_key
stores the SSL keys.