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

site.ini [MSAccessSettings]

The settings of [MSAccessSettings] in site.ini: Driver, ExtendedAnsiSQL, ReadOnly, Exclusive, ConnectionString, Layer

Download as PDF

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

On this page

site.ini [MSAccessSettings]

The block [MSAccessSettings] of settings/site.ini, with 6 setting(s).

Microsoft Access (DatabaseImplementation=msaccess, expMSAccessDB): Database is the .accdb or .mdb file. Windows with
Microsoft's Access Database Engine (x64) reads and writes. On Linux Access files are read by exp:access:import
(MDBTools). Not for a site: use it to import data or for a small data table connection on Windows.

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).

Driver

empty: Microsoft Access Driver (*.mdb, *.accdb) on Windows, MDBTools elsewhere

Default: empty.

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

ExtendedAnsiSQL

ANSI-92 mode (DEFAULT and DECIMAL in CREATE TABLE, BAND and BOR); ACE's driver only

Default: enabled.

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

ReadOnly

enabled: open the file read only

Default: disabled.

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

Exclusive

enabled: no other process may open the file

Default: disabled.

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

ConnectionString

Default: empty.

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

Layer

auto (the odbc extension first: only SQLTables lists Access's tables), odbc or pdo_odbc

Default: auto.

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

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