Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krdlab/haskell-relational-record-driver-mysql
MySQL driver for haskell-relational-record
https://github.com/krdlab/haskell-relational-record-driver-mysql
Last synced: 16 days ago
JSON representation
MySQL driver for haskell-relational-record
- Host: GitHub
- URL: https://github.com/krdlab/haskell-relational-record-driver-mysql
- Owner: krdlab
- License: bsd-3-clause
- Created: 2013-12-20T06:56:16.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-04T10:30:36.000Z (almost 10 years ago)
- Last Synced: 2024-10-28T09:09:08.942Z (2 months ago)
- Language: Haskell
- Size: 221 KB
- Stars: 4
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MySQL driver for haskell-relational-record
[![Build Status](https://drone.io/github.com/krdlab/haskell-relational-record-driver-mysql/status.png)](https://drone.io/github.com/krdlab/haskell-relational-record-driver-mysql/latest)
*This project was merged into [haskell-relational-record](https://github.com/khibino/haskell-relational-record).*
## Prepare
```sh
$ git clone [email protected]:khibino/haskell-relational-record.git
$ git clone [email protected]:bos/hdbc-mysql.git
$ git clone [email protected]:krdlab/haskell-relational-record-driver-mysql.git
``````sh
$ cd haskell-relational-record-driver-mysql/example
$ cabal sandbox init
$ cabal sandbox add-source \
../../haskell-relational-record/HDBC-session \
../../haskell-relational-record/names-th \
../../haskell-relational-record/persistable-record \
../../haskell-relational-record/relational-query \
../../haskell-relational-record/relational-query-HDBC \
../../haskell-relational-record/relational-schemas \
../../haskell-relational-record/sql-words \
../../hdbc-mysql \
../
$ cabal install --only-dependencies$ mysql -h localhost -u root -p < setup.sql
```## Run example
```sh
$ cd haskell-relational-record-driver-mysql/example
$ cabal build
$ ./dist/build/example/example
[("krdlab",2014-02-01),("bar",2014-02-11)]
[("[email protected]",2014-02-11)]
```