My program works with runghc, but the same program successively fails when compiling with the error "Lost connection to MySQL server during query." The error is not related to a long query (this is CREATE VIEW on a small table). There is nothing in the MySQL error log, but log_warnings = 1. Environment - ubuntu (13.04 ;-), local database)
source
share