My program runs with runghc but the same program consistently fails when compiled with error "Lost connection to MySQL server during query". The fail is not associated with a long running query (it is a CREATE VIEW on a small table). There is nothing in the MySQL error-log, and log_warnings=1. Environment - ubuntu (13.04 ;-), local database)
HDBC.ODBC must use 'withRTSSignalsBlocked' to protect all database access actions, or risk random failures such as I describe. This was effectively confirmed by the author of the library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With