---
title: "SQL.MySQL"
description: "MySQL connection prototype."
canonical_url: "https://www.zeyos.com/zymba/ref/sql/sql-mysql"
markdown_url: "https://www.zeyos.com/ai/guide/zymba/ref/sql/sql-mysql.md"
section: "zymba-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/zymbaref.json"
source_sha256: "05a361c6ddc32e74f4a6dc16fd06f218210ff1b7ce57f26ca1994bfffc407915"
---

# SQL.MySQL

## SQL.MySQL

```
object @SQL.MySQL(@SQL.Connection) {
	construct(string $server, string $dbname, string $username, string $password) {}
}
```

**MySQL connection prototype.**

### Prototype

**[SQL.Connection](#)**

## Methods


### `$this.construct()`


```code
$this.construct(string $server, string $dbname, string $username, string $password): void
```

##### Parameters

| Name | Type | Value | Default |
| --- | --- | --- | --- |
| server | `string`  |  | "" |
| dbname | `string`  |  | "" |
| username | `string`  |  | "" |
| password | `string`  |  | "" |
