Difference between revisions of "Installation:lua prerequisites"

From PrometheusIPN Wiki
Jump to: navigation, search
(4 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
Install the [[Installation:website|web files]] first
 
Install the [[Installation:website|web files]] first
  
You need to install either tMySQL or MySQLoo. We recommend MySQLoo, but you can use tMySQL as well.
+
You need to install either tMySQL or MySQLoo. We recommend MySQLoo, but you can use tMySQL as well. This documentation only covers MySQLoo as tMySQL is deprecated.
  
 
==== MySQLoo ====
 
==== MySQLoo ====
The MySQLoo 9 module from [https://facepunch.com/showthread.php?t=1515853 here]
+
The MySQLoo 9 module from [https://github.com/syl0r/MySQLOO/releases/ here]
  
 
Download [https://github.com/syl0r/MySQLOO/releases/ HERE] for Linux server use gmsv_mysqloo_linux.dll, but for Windows server use gmsv_mysqloo_win32.dll, choose the latest release that has your version and put it here:   
 
Download [https://github.com/syl0r/MySQLOO/releases/ HERE] for Linux server use gmsv_mysqloo_linux.dll, but for Windows server use gmsv_mysqloo_win32.dll, choose the latest release that has your version and put it here:   
Line 12: Line 12:
  
 
[[File:Bin.png]]
 
[[File:Bin.png]]
 
+
<div style="text-decoration: line-through">
 
You are also going to need either [https://github.com/syl0r/MySQLOO/raw/master/MySQL/lib/windows/libmysql.dll libmysql] on Windows or [https://github.com/syl0r/MySQLOO/raw/master/MySQL/lib/linux/libmysqlclient.so.18 libmysqlclient] on Linux.
 
You are also going to need either [https://github.com/syl0r/MySQLOO/raw/master/MySQL/lib/windows/libmysql.dll libmysql] on Windows or [https://github.com/syl0r/MySQLOO/raw/master/MySQL/lib/linux/libmysqlclient.so.18 libmysqlclient] on Linux.
 
They have to be placed within the root folder of your server (the one that contains srcds.exe or srcds_run)
 
They have to be placed within the root folder of your server (the one that contains srcds.exe or srcds_run)
 
+
</div>
 
+
As of the latest MySQLoo version (9.6 and newer) you no longer need the second file(libmysql) on the server. So if you use MySQLoo 9.6 or newer you only need the first, MySQLoo file.
 
 
==== tMySQL ('''Discontinued, not recommended!''') ====
 
 
 
[http://facepunch.com/showthread.php?t=1442438 Link to tMySQL]
 
 
 
Download [https://github.com/bkacjios/gm_tmysql4/releases/download/R1.02/gmsv_tmysql4_win32.dll this for Windows] or [https://github.com/bkacjios/gm_tmysql4/releases/download/R1.02/gmsv_tmysql4_linux.dll this for Linux] and put it in ''garrysmod/garrysmod/lua/bin''
 
 
 
[[File:Bin.png]]
 
 
 
You need to create the lua/bin folder manually if you do not already have it.
 
 
 
  
 
'''Done''' Continue with the [[Installation:lua|lua files]] installation
 
'''Done''' Continue with the [[Installation:lua|lua files]] installation

Revision as of 11:43, 5 January 2020

Installing prerequisites for Prometheus' lua portion

Install the web files first

You need to install either tMySQL or MySQLoo. We recommend MySQLoo, but you can use tMySQL as well. This documentation only covers MySQLoo as tMySQL is deprecated.

MySQLoo

The MySQLoo 9 module from here

Download HERE for Linux server use gmsv_mysqloo_linux.dll, but for Windows server use gmsv_mysqloo_win32.dll, choose the latest release that has your version and put it here:

(You need to create the lua/bin folder manually if you do not already have it.)

Bin.png

You are also going to need either libmysql on Windows or libmysqlclient on Linux. They have to be placed within the root folder of your server (the one that contains srcds.exe or srcds_run)

As of the latest MySQLoo version (9.6 and newer) you no longer need the second file(libmysql) on the server. So if you use MySQLoo 9.6 or newer you only need the first, MySQLoo file.

Done Continue with the lua files installation