Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » How do I instal luasql into Eclipse (koneki ldt win32)
How do I instal luasql into Eclipse (koneki ldt win32) [message #1700501] Fri, 03 July 2015 05:07 Go to next message
john autefrum is currently offline john autefrumFriend
Messages: 1
Registered: July 2015
Junior Member
I have downloaded and unzipped the "all-in-one" install of Koneki LDT ( It "Works" which is great.

I can run the one line program print("Hello World") and it writes 'Hello World' the the Console window.

However, I am writing some code using luasql to access a remote sql server and when I have the line

luasql = require "luasql.mysql"

my eclipse spits the dummy and says it can't find find files in dozens of folders, starting with:
no file '.\luasql\mysql.lua'
no file 'C:\Program Files\Java\jre1.8.0_31\bin\lua\luasql.lua'
no file 'C:\Program Files\Java\jre1.8.0_31\bin\lua\luasql\init.lua'
and many many more.

I have not installed lua on the Win7 32 bit PC I am using - I have only installed the eclipse all in one IDE. However since the Hello World program works, the IDE must have installed some version of LUA.

On my target device (openWRT router) the luasql programs that I write in notepad are working, but I want to get a proper IDE working before going much further.

How do I get the luasql available in the eclipse environment to allow me to step through and debug the mysql code?

I used Eclipse for PHP development until I went to Zend's paid IDE (which is still Eclipse) and for Android development a few years ago, so I have got Eclipse working before. I tried including the lua environment using the help-Install New Software on my 'main' development machine but ran into some dead ends, so I decided to try it out on an older machine first to minimise risk of breaking my php development environment on my main machine.

Any assistance would be appreciated.
Re: How do I instal luasql into Eclipse (koneki ldt win32) [message #1700526 is a reply to message #1700501] Fri, 03 July 2015 08:59 Go to previous message
Kevin KIN-FOO is currently offline Kevin KIN-FOOFriend
Messages: 58
Registered: January 2010
Hi John,

Out of the box, LDT handles standard modules.

I understand that you want to debug code from your openWRT router. LDT enables you to debug Lua on remote devices.

Tell us if it suits your needs.


[Updated on: Fri, 03 July 2015 09:30]

Report message to a moderator

Previous Topic:Create a simple Execution Environment
Next Topic:Where can I find the debugger files (./debugger/xxx.lua)
Goto Forum:

Current Time: Wed Feb 08 21:29:44 GMT 2023

Powered by FUDForum. Page generated in 0.01863 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top