Got it. It was simply I was using and older mysql file which wasn’t initialized with the new value yet. Basically trashed the old file and now it’s working with new one…
But now I’m not being able to retrieve the table. When I try through this command
local sql = [[SELECT data, name from info WHERE datetime = "]] .. tostring(row.t3.text) .. [["]] for row in db:nrows(sql) do result = row end print (result.tableoffactors)
I get printed ‘nil’, with tableoffactors being the table we previously saved formatted with json and then supposed to be a string ( it shows like this the sql file : {“y”:“40”,“x”:“2”} )
Where could posibly be the mistake, now??