CData Python Connector for MySQL

Build 25.0.9440

Server

Specifies the host name or IP address of the MySQL server to connect to. This property supports both single-server and clustered environments through comma-separated values.

データ型

string

デフォルト値

""

解説

This property defines the network location of the MySQL instance. This can be either a fully qualified domain name (FQDN) such as mysql.example.com or an IP address like 192.168.0.1. It is required for all connections and is essential for identifying the MySQL host the client interacts with.

Multiple host addresses can be provided as a comma-separated list to support high availability or load-balanced MySQL clusters. Each server listed should correspond to a matching port (if different) in the Port property.

Examples:

  • Single server: Server="mysql.example.com"
  • Multiple servers: Server="192.168.0.1,192.168.0.2"
Note: Ensure the specified server(s) are reachable over the network and the MySQL service is running and accepting connections on the corresponding port(s).

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440