site.ini [MySQLWireSettings]
The block [MySQLWireSettings] of settings/site.ini, with 13 setting(s).
Databases that speak the MySQL protocol (expMySQLWireDB, doc/eng-us/features/6.0/mysql-wire-databases.md):
DatabaseImplementation=tidb (expTiDBDB), vitess or planetscale (expVitessDB), singlestore (expSingleStoreDB),
xpand (expXpandDB), aurora (expAuroraMySQLDB). Server, Port, User, Password and Database come from
[DatabaseSettings]; each driver is the MySQL driver with the profile of its database.
Never edit settings/site.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/site.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/site.ini.append.phpfor one siteaccess,extension/<extension>/settings/site.ini.append.phpin an extension (read when the extension is active).
Profile
empty: the driver's own profile; tidb, vitess, singlestore, xpand, aurora, mysql or mariadb
Default: empty.
# settings/override/site.ini.append.php
[MySQLWireSettings]
Profile=
*/ ?>VerifyServer
warning: each connection asks the server what it is and warns when it is not the profile's database
Default: disabled.
# settings/override/site.ini.append.php
[MySQLWireSettings]
VerifyServer=disabled
*/ ?>IsolationLevel
READ COMMITTED, REPEATABLE READ ... as the database keeps it (TiDB: those two; SingleStore: READ COMMITTED only);
empty: the server's default
Default: empty.
# settings/override/site.ini.append.php
[MySQLWireSettings]
IsolationLevel=
*/ ?>TableLocks
auto (the profile's), native (LOCK TABLES), named (GET_LOCK, where LOCK TABLES does nothing: TiDB, Xpand), none
Default: auto.
# settings/override/site.ini.append.php
[MySQLWireSettings]
TableLocks=auto
*/ ?>NamedLockTimeout
Seconds a named table lock is waited for
Default: 30.
# settings/override/site.ini.append.php
[MySQLWireSettings]
NamedLockTimeout=30
*/ ?>TiDBAutoIdCache
TiDB: AUTO_ID_CACHE of the tables the installer creates; 1 hands out ids in MySQL's order, 0 leaves TiDB's cache
Default: 1.
# settings/override/site.ini.append.php
[MySQLWireSettings]
TiDBAutoIdCache=1
*/ ?>SSL
disabled, enabled (TLS, the certificate is not checked) or verify (checked against SSLCA, else the system's CAs).
PlanetScale, TiDB Cloud, SingleStore Helios and Aurora with require_secure_transport need TLS.
Default: disabled.
# settings/override/site.ini.append.php
[MySQLWireSettings]
SSL=disabled
*/ ?>SSLCA
Default: empty.
# settings/override/site.ini.append.php
[MySQLWireSettings]
SSLCA=
*/ ?>SSLCert
Default: empty.
# settings/override/site.ini.append.php
[MySQLWireSettings]
SSLCert=
*/ ?>SSLKey
Default: empty.
# settings/override/site.ini.append.php
[MySQLWireSettings]
SSLKey=
*/ ?>FailoverCheck
Aurora: a primary that turns out read-only after connecting (a failover the cluster address does not show yet) is
connected to again; auto: on for the profiles with failover (aurora)
Default: auto.
# settings/override/site.ini.append.php
[MySQLWireSettings]
FailoverCheck=auto
*/ ?>FailoverRetries
Default: 5.
# settings/override/site.ini.append.php
[MySQLWireSettings]
FailoverRetries=5
*/ ?>FailoverWait
Default: 1.
# settings/override/site.ini.append.php
[MySQLWireSettings]
FailoverWait=1
*/ ?>Related
Generated by ./console exp:help:examples from settings/site.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.