Debugging ErlyDB and MySQL
问题 I am experimenting with ErlyDB in a non-erlyweb environment and I am not having much luck. I have a 'Thing' table for testing, and a corresponding Thing module: -module(thing). -export([table/0, fields/0]). table() -> thing. fields() -> [name, value]. The module itself works - I can query the database fine using ( [Thing] = thing:find({name, '=', "test"}) ). When I try and save a new record, however things aren't so good. I consistently see the following error: mysql_conn:426: fetch <<"BEGIN"