Hi again,
I’ve hit a point where i’m not sure what is wrong and could use a hint.
The server is up and running and I have created a sql database with a simple user table.
The plugin has been purchased and to test that it works, I am trying a manual input from client.
Now the client is correctly setup in the build setting and the plugin has been downloaded.
So this is the main lua file code
local core=require("plugin.coronium-core") core.init({ server="http://\<ip address", key="\<as copied from core using putty\>", project="\<my project name as created"}) local function callback(event) if event.error then print(event.error) else print(event.result) end end local data={ db="\<my database name\>", table="users", values={ username="my name", password="my pass", email="my email"}} core.mysql.insert(data,callback)
the ip address has been verified with ping and yet i get this error:
“attempt to index field ‘mysql’ a nil value”