datatable.ini [ClassSettings]
The block [ClassSettings] of settings/datatable.ini, with 1 setting(s).
Declared connections: one block per connection, [Connection_<identifier>], read-only in the administration.
[Connection_archive]
Name=Archive database
Engine=mysql sqlite, mysql, postgresql, oracle, sqlserver or mongodb
Server=db2.example.com
Port=3306
Database=archive for sqlite the file, relative to the installation (in SQLiteDirectories)
User=archive
Secret=env:ARCHIVE_DB_PASSWORD
Charset=utf8mb4
ReadOnly=false
Never edit settings/datatable.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/datatable.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/datatable.ini.append.phpfor one siteaccess,extension/<extension>/settings/datatable.ini.append.phpin an extension (read when the extension is active).
Connection
The connection a persistent class uses, when its definition() does not name one ('connection' => '<identifier>'):
Connection[<class name>]=<identifier>
Default: an empty list.
# settings/override/datatable.ini.append.php
[ClassSettings]
# an empty "Connection[]" first replaces the shipped list; without it the items are added
Connection[]
*/ ?>Related
Generated by ./console exp:help:examples from settings/datatable.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.