---
title: "db:connection — Connection"
description: "iXML command db:connection: Connection."
canonical_url: "https://www.zeyos.com/ixml/ref/db-connection"
markdown_url: "https://www.zeyos.com/ai/guide/ixml/ref/db-connection.md"
section: "ixml-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/ixmldoc.xml"
source_sha256: "a23f04e6a98628ca3c273c3b8dd2c33c034cfda3e0f00478d8793074fd2f70dd"
---

# db:connection — Connection

DB:CONNECTION establishes a database connection.

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| server | string |  | Server |
| dbname | string |  | Database name |
| username | string |  | Username |
| password | string |  | Password |
| type | type | pgsql | Database type |

#### Possible values
Possible values for `type`:
- mysql — MySQL
- pgsql — PostgreSQL


### Children
- (none)

### Parents
- (not restricted in the reference)

### Result
- (none documented)
