I’ve extracted some of the code for connecting to MySQL databases from the database module and put it in its own plug-in:
I’ve not changed the code very much (just renamed a few items). There are not very many additions that I want to make to this plug-in. The intention is just to refine what is there and add some automated tests.
This little plug-in should make writing Haddock CMS programs that use a MySQL database simpler. Especially for projects that run solely on the command line.
I’ve not removed anything from the old database plug-in, so do not think that you need to add this plug-in to existing projects.