site.ini [MySQLWireSettings]
Der Block [MySQLWireSettings] von settings/site.ini, mit 13 Einstellung(en).
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.
Bearbeiten Sie settings/site.ini nie selbst: Ein Update ersetzt die Datei. Schreiben Sie die Einstellungen, die Sie ändern, in ein Override, das Vorrang vor der ausgelieferten Datei hat:
settings/override/site.ini.append.phpfür jeden Siteaccess,settings/siteaccess/<siteaccess>/site.ini.append.phpfür einen Siteaccess,extension/<extension>/settings/site.ini.append.phpin einer Erweiterung (gelesen, wenn die Erweiterung aktiv ist).
Profile
empty: the driver's own profile; tidb, vitess, singlestore, xpand, aurora, mysql or mariadb
Standard: leer.
# 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
Standard: 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
Standard: leer.
# 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
Standard: auto.
# settings/override/site.ini.append.php
[MySQLWireSettings]
TableLocks=auto
*/ ?>NamedLockTimeout
Seconds a named table lock is waited for
Standard: 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
Standard: 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.
Standard: disabled.
# settings/override/site.ini.append.php
[MySQLWireSettings]
SSL=disabled
*/ ?>SSLCA
Standard: leer.
# settings/override/site.ini.append.php
[MySQLWireSettings]
SSLCA=
*/ ?>SSLCert
Standard: leer.
# settings/override/site.ini.append.php
[MySQLWireSettings]
SSLCert=
*/ ?>SSLKey
Standard: leer.
# 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)
Standard: auto.
# settings/override/site.ini.append.php
[MySQLWireSettings]
FailoverCheck=auto
*/ ?>FailoverRetries
Standard: 5.
# settings/override/site.ini.append.php
[MySQLWireSettings]
FailoverRetries=5
*/ ?>FailoverWait
Standard: 1.
# settings/override/site.ini.append.php
[MySQLWireSettings]
FailoverWait=1
*/ ?>Siehe auch
Erzeugt von ./console exp:help:examples --language=ger-de aus settings/site.ini. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.