luasql icon indicating copy to clipboard operation
luasql copied to clipboard

LuaSQL is a simple interface from Lua to a DBMS.

Results 68 luasql issues
Sort by recently updated
recently updated
newest added

It trouble us for a long time . When there are a lot connections and there may be an error LuaSQL: error connecting to database. MySQL: Can't initialize character set...

I have an script on lua. Which works just fine using the luasql-mysql 2.3.0-1 rock, since the update to luasql-mysql 2.3.5-1 the close() methods create a delay (more like a...

I have a program here using LuaSQL that keeps getting mojibake out of the server, I am in Brazil, and it return brazillian-related stuff wrong. raw byte dumps of the...

I am receiving Out of Memory issue while executing queries using LuaSQL. Can any one please help me on this. I have closed the connection properly, but still i am...

I have a mysql stored procedure like this: _`CREATE DEFINER=`root`@`localhost` PROCEDURE `get_record`( In mKey varchar(300) ) BEGIN Select * from table_name where column_name = mkey; END`_ And in LUA, I...

This sample script ``` lua local luasql = require "luasql.postgres" local env = assert(luasql.postgres()) local conn = assert(env:connect()) for i=4080,5000,1 do local s1 = string.rep("'", i) local s2 = conn:escape(s1)...

Hello . I have a problem. Hope you can help me. Here is the problem: I need to install luasql in my computer for my data in MySQL. I already...

Hello, friends. This message is for the team in charge of LuaSQL, specifically SQLite3, FireBird and ODBC connection. I am interested in make tests to **LuaSQL** using **SQLite3** and **FireBird**,...

When I try to fetch the result of a stored procedure it returns only one record. res, err, errno, sqlstate = db:query("call icenter.queryUserOTHistorySessionRB(4780,'2016-03-01 00:00:00','2016-04-30 23:59:59');"); That's the result: [{"LogoffTime":"2016-04-14 07:30:00","user_id":4780,"resource_id":1335,"ResourceName":"WTH5401171","InuseTime":54000,"IdleTime":0,"LogonTime":"2016-04-13...

local res=assert(con:execute("CALL `Procedure_name`('"..parameter.."')")) while row do row = res:fetch ({}, "a") end After this calling another query and see: LuaSQL: error executing query. MySQL: Commands out of sync; you can't...