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

0down votefavorite | I need to read data in my query with utf8 format, I tried to change collation of my SQL database when I read data base on English...

Unlike the PostgreSQL interface (which works fine), the MySQL interface does not seem to support a services file as there is no call to mysql_options(conn, MYSQL_READ_DEFAULT_GROUP, servicename); anywhere in the...

I looked through the documentation and found that no conn:prepare(select * from table where id=?) was provided. Why? What should I do about SQL injection.

Hi, I cannot require luasql.mysql module and raise follow error. I tested luasql-mysql 2.5.0 and luasql-mysql 2.3.5 and luasql-mysql 2.1.1. Mysql Server version: 5.7.30 MySQL Community Server (GPL)。What's wrong with...

I've set an environment variable called MYSQL_DIR which points to the mysql.h file but it still says that the file is missing. Can someone help me out?

Hello - Is there some particular reason why the following prototypes are NOT included in luasql.h? LUASQL_API int luaopen_luasql_postgres (lua_State *L); LUASQL_API int luaopen_luasql_oci8 (lua_State *L); LUASQL_API int luaopen_luasql_mysql (lua_State...

I used to have no issues until I updated my ubuntu's packages now I am no longer able to use this at all, I'm using the example from the website...

Luarocks install luasql-odbc error compile. gcc -O2 -fPIC -I/usr/include/lua5.2 -c src/luasql.c -o src/luasql.o -I/usr/include gcc -O2 -fPIC -I/usr/include/lua5.2 -c src/ls_odbc.c -o src/ls_odbc.o -I/usr/include src/ls_odbc.c:39:2: error: unknown type name ‘SQLHENV’ SQLHENV...

Hi, I have been trying something like this but it is not working: require ("luasql.odbc") -- create environment object env =luasql.odbc() -- connect to data source con = assert (env:connect("DSN=myserver.database.windows.net;Database=master;User...

Hello. I tried to make odbc driver for x64, but had LNK4272 x64-x86 problems (I did in x64 env). Tried to convert vs6 project, but vs2015 cannot do this.