I tried to get this module running.
Executing commands in scope Thingsdb went without any error message:
new_module('mysql', 'github.com/thingsdb/module-go-mysql');
set_module_conf('mysql', {
dsn: "root:......@mysql/dev",
conn_max_lifetime: 3,
max_idle_conn: 10,
max_open_conn: 1
});
But afterwards trying any query_rows or get_db_stats command result all in error message:
modulemysqlis not running (status: configuration error; useset_module_conf(..)to update the module configuration)
Same problem when trying with format dsn: "root:.......@tcp(127.0.0.1:3306)/dev",
Don´t see what could be wrong with the configuration. Mysql database is up and running, database 'dev' exists.
Some errormessage at the set_module_conf command would be useful, if there really is an error.