From: Günther S. <gue...@we...> - 2013-03-15 18:42:30
|
Hello Guys, I managed to create my db layout and to generate the queries I want to sent of to my database. So far I have not figured out how to actually connect to my MySQL database (via HDBC). I have seen a single code example using PostgreSQL but it didn't help me much, it could not translate this for use MySQL. Which packages do I need to import? Could someone please post an example on how to connect to a MySQL database, fire off an arbitrary query and iterate over the result? I googled extensively but the net nowadays seems void of any coherent haskelldb examples. Thanks upfront Günther |