Search found 2 matches

by ProFes
Fri Nov 30, 2012 2:27 pm
Forum: Support and Development
Topic: MySQL (using luaSQL)
Replies: 2
Views: 2192

Re: MySQL (using luaSQL)

If luasql is an executable (.dll, .so, .dylib) it should be in the same folder as the love executable, not inside the .love... If it's just a .lua module, then you should upload the .love because you did something wrong and we can't help you with that, aside from telling you to check paths I drop ....
by ProFes
Fri Nov 30, 2012 12:14 pm
Forum: Support and Development
Topic: MySQL (using luaSQL)
Replies: 2
Views: 2192

MySQL (using luaSQL)

When I use UTF-8 with BOM, I get error "Invalid UTF-8".
Whan I use UTF-8 without BOM, I get error "module luasql.mysql not found".
Can someone give me working example or help to solve problem? :(

serverlist.lua

Code: Select all

require 'luasql.mysql'
env = assert (luasql.mysql())