Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,196 of 9,196 pages
About the help in other languages
All help pages

site.ini [MySQLWireSettings]

The settings of [MySQLWireSettings] in site.ini: Profile, VerifyServer, IsolationLevel, TableLocks, NamedLockTimeout, TiDBAutoIdCache, SSL, SSLCA ...

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/site/MySQLWireSettings.md

On this page

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.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/site.ini.append.php for one siteaccess,
  • extension/<extension>/settings/site.ini.append.php in 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[MySQLWireSettings]
TableLocks=auto
*/ ?>

NamedLockTimeout

Seconds a named table lock is waited for

Default: 30.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[MySQLWireSettings]
SSL=disabled
*/ ?>

SSLCA

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[MySQLWireSettings]
SSLCA=
*/ ?>

SSLCert

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[MySQLWireSettings]
SSLCert=
*/ ?>

SSLKey

Default: empty.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[MySQLWireSettings]
FailoverCheck=auto
*/ ?>

FailoverRetries

Default: 5.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[MySQLWireSettings]
FailoverRetries=5
*/ ?>

FailoverWait

Default: 1.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[MySQLWireSettings]
FailoverWait=1
*/ ?>

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x