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

datatable.ini [ClassSettings]

The settings of [ClassSettings] in datatable.ini: Connection

Download as PDF

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

On this page

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

<?php /* #?ini charset="utf-8"?
# settings/override/datatable.ini.append.php
[ClassSettings]
# an empty "Connection[]" first replaces the shipped list; without it the items are added
Connection[]
*/ ?>

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.

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