connect

fun connect(host: String, port: String, database: String, username: String, password: String)

Connect to a database.

Parameters

host

the host of the database

port

the port of the database

database

the name of the database

username

the username to connect to the database

password

the password to connect to the database