Modules/Squirrel/lu mysql

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
m (Fixed 2 broken links and added a missing one)
(Installation)
Line 19: Line 19:
 
== Installation ==
 
== Installation ==
  
Make sure you have the ''lu_mysql.dll'' file in your ''Modules'' folder and the ''libmysql.dll'' file in your server folder. After that, add the following code under the event [[Squirrel/Server/Events/Misc/onScriptLoad|onScriptLoad]] of the script:
+
Make sure you have the ''lu_mysql.dll'' or '''lu_mysql.so''' file in your ''Modules'' folder and for windows servers the ''libmysql.dll'' file in your server folder. After that, add the following code under the event [[Squirrel/Server/Events/Misc/onScriptLoad|onScriptLoad]] of the script:
 
<code lang="squirrel">LoadModule( "lu_mysql" );</code>
 
<code lang="squirrel">LoadModule( "lu_mysql" );</code>
  

Revision as of 12:33, 21 June 2013

lu_mysql
Type Squirrel module
Version 1.0
Author Juppi (packaged by Stormeus)
Platform Windows, Linux
Website LU Forum Thread
Download link Windows Binary

Linux Binary

Source

Contents


lu_mysql is a third-party, community module which provides Squirrel functions to read from and write to MySQL databases. For an SQLite related tutorial, check here. This can help you learn basic SQL.

Installation

Make sure you have the lu_mysql.dll or lu_mysql.so file in your Modules folder and for windows servers the libmysql.dll file in your server folder. After that, add the following code under the event onScriptLoad of the script:

  1. LoadModule( "lu_mysql" );

Functions

These functions are provided by the third-party module lu_mysql.

Version History

  • 1.0 - Initial release.
Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox