[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Lua ➜ MSSQL connection via lua script?

MSSQL connection via lua script?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Ashass   (50 posts)  Bio
Date Thu 25 Nov 2010 05:37 AM (UTC)
Message
Is it possible to connect to an MSSQL database using mushclient lua script? Already have mssql set up, database ready to go, odbc connections set up, etc. I just don't have the faintest idea of a resource to look up a lua connection.

Know it should be possible through phpscript, but i don't really relish re-writing my lua triggers and alias to php versions.
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #1 on Thu 25 Nov 2010 05:41 AM (UTC)
Message
You might want to look at LuaCOM, which has been bundled with MUSHclient since v4.60. You should be able to create an ODBC connection using it. Search the forums, I'm sure you'll turn up something useful. :)

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Nick Gammon   Australia  (23,046 posts)  Bio   Forum Administrator
Date Reply #2 on Thu 25 Nov 2010 05:52 AM (UTC)
Message
Template:post=6324 Please see the forum thread: http://gammon.com.au/forum/?id=6324.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


16,398 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]