lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Tomás,

  No, I ended up doing what I needed with a Java application.  I really would have liked to use Lua, but my 2 hard requirements (Oracle and runs on Windows) left me with little time to mess with unfamiliar territory.

  For future reference, what is the best way to write a Lua app that runs on windows and interacts with an Oracle database?

  I have since uninstalled Lua For Windows and tried to find the luasql.oci8 driver with luarocks but don't seem to be able to find it

  Thanks

Matt


On Mon, Sep 9, 2013 at 7:45 PM, Tomas Guisasola Gorham <tomas@tecgraf.puc-rio.br> wrote:
        Hi Matthew

        I'm sorry I only noted your message now...  Did you solve your problem?


Sorry for being dumb, but I am trying to make a basic script to connect to
an oracle database on windows.  I have tried installing Oracle Instant
Client and moved the dll under the luasql folder (next to the other
database dll's , but even when I tried renaming oci.dll as oci8.dll -- no
luck).
        I think this won´t work.  LuaSQL OCI8 driver is another library.
It is not distributed with Oracle products.  In fact, the driver would
bind the client library (OCI8) to Lua language.  It is a way to allow
access to a C library through Lua.


My platform: win7 (64 bit)
with Lua5.1(32 bit installed)
I have previously installed Lua for Windows and luarocks but don't know if
that is messing anything up.
        I am not sure what drivers are distributed with Lua For Windows.
Can you compile/build the source?

        Regards,
                Tomás