Backend for the persistent library using MySQL database server.

Version on this page:2.2
LTS Haskell 22.30:
Stackage Nightly 2024-07-24:
Latest on Hackage:

See all snapshots persistent-mysql appears in

MIT licensed by Felipe Lessa, Michael Snoyman
Maintained by Felipe Lessa
This version can be pinned in stack with:persistent-mysql-2.2@sha256:71d0d592d97a0cde4372e980aa2bee57c23b42da0bda886424cfd582b6762ab1,1895

Module documentation for 2.2

This package contains a backend for persistent using the MySQL database server. Internally it uses the mysql-simple and mysql packages in order to access the database.

This package supports only MySQL 5.1 and above. However, it has been tested only on MySQL 5.5.

Known problems:

  • This package does not support statements inside other statements.



  • Update to persistent 2.2


  • Added a Show instance for MySQLConf.

Documentation typo fix


Provide a FromJSON instance for MySQLConf.