Hi i installed lua and luasql, and i did test from cli with access to mysql, it works fine.<br><br>But when i run the script from FS i get the following erro:<br><br><br><br>2008-05-09 21:03:01 [ERR] mod_lua.cpp:169 lua_parse_and_execute() /opt/freeswitch/scripts/set_called_group.lua:1: module 'luasql.mysql' not found:<br>
no field package.preload['luasql.mysql']<br> no file './luasql/mysql.lua'<br> no file '/usr/local/share/lua/5.1/luasql/mysql.lua'<br> no file '/usr/local/share/lua/5.1/luasql/mysql/init.lua'<br>
no file '/usr/local/lib/lua/5.1/luasql/mysql.lua'<br> no file '/usr/local/lib/lua/5.1/luasql/mysql/init.lua'<br> no file './luasql/mysql.so'<br> no file '/usr/local/lib/lua/5.1/luasql/mysql.so'<br>
no file '/usr/local/lib/lua/5.1/loadall.so'<br> no file './luasql.so'<br> no file '/usr/local/lib/lua/5.1/luasql.so'<br> no file '/usr/local/lib/lua/5.1/loadall.so'<br>
stack traceback:<br> [C]: in function 'require'<br> /opt/freeswitch/scripts/set_called_group.lua:1: in main chunk<br><br><br><br>