Skip to content

mighty-gerbils/gerbil-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages