This package provides a Gerbil MySQL dbi driver using libmysqlclient
.
You need to have libmysqlclient
installed in your system.
To install the package in your $GERBIL_PATH
(~/.gerbil
by default):
$ gerbil pkg install github.com/mighty-gerbils/gerbil-mysql
To use bindings from this package:
(import :std/db/dbi :clan/db/mysql)
(sql-connect mysql-connect
host: (host #f)
port: (port 0)
user: (user #f)
passwd: (passwd #f)
db: (db #f))
Opens a new connection to a MySQL server.
© 2017-2023 The Gerbil Core Team and contributors; License: LGPLv2.1 and Apache 2.0
Originally written by vyzo.