Skip to main content
Module

x/cotton/deps.ts>MysqlClientConfig

SQL Database Toolkit for Deno
Go to Latest
interface MysqlClientConfig
import { type MysqlClientConfig } from "https://deno.land/x/cotton@v0.7.2/deps.ts";

Clinet Config

Properties

optional
hostname: string

Database hostname

optional
username: string

Database username

optional
password: string

Database password

optional
port: number

Database port

optional
db: string

Database name

optional
debug: boolean

Whether to Display Packet Debugging Information

optional
timeout: number

Connect timeout

optional
poolSize: number

Connection pool size default 1

optional
charset: string

charset