---
title: "Log on"
description: "A connection to a database can be established using the syntax."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-script/statements/log-on
original: https://documentation.invantive.eu/en/docs/invantive-script/statements/log-on
updated: 2026-08-09T00:00:00Z
license: https://documentation.invantive.eu/en/
---

# Syntax
A connection to a database can be established using the syntax:
```
local log on connection "<DATABASENAME>" silent
```
where the database name consists of the group name, a back slash and the database name. When silent is specified, the log on dialog will not appear for the user to interact with.

# Examples
The following example establishes the connection to the database `ACME\eol-mssql`:
```
local log on connection "ACME\eol-mssql" silent
```