Gerbil MySQL Driver
Find a file
2025-08-24 11:40:49 +02:00
db Get the FFI to compile with GCC14 2025-08-22 17:46:52 -04:00
.gitignore moved from stdlib 2023-09-23 13:16:06 +03:00
build.ss moved from stdlib 2023-09-23 13:16:06 +03:00
gerbil.pkg moved from stdlib 2023-09-23 13:16:06 +03:00
LICENSE-APACHE-2.0.txt add license 2023-09-23 14:08:10 +03:00
LICENSE-LGPL.txt add license 2023-09-23 14:08:10 +03:00
README.md fix API headings 2023-09-23 15:09:19 +03:00

Gerbil MySQL Driver

This package provides a Gerbil MySQL dbi driver using libmysqlclient.

Dependencies

You need to have libmysqlclient installed in your system.

Installation

To install the package in your $GERBIL_PATH (~/.gerbil by default):

$ gerbil pkg install github.com/mighty-gerbils/gerbil-mysql

API

To use bindings from this package:

(import :std/db/dbi :clan/db/mysql)

mysql-connect

(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.

License and Copyright

© 2017-2023 The Gerbil Core Team and contributors; License: LGPLv2.1 and Apache 2.0

Originally written by vyzo.