Difference between revisions of "MySQL"

From GExtension Wiki
Jump to navigation Jump to search
Line 4: Line 4:
  
 
==Installation==
 
==Installation==
#Download this file and upload it to the folder where the '''SRCDS''' application is located:
+
#Download this file and upload it to the folder where the '''SRCDS''' application is located (the root folder of your gameserver):
 
#*Windows: [https://puu.sh/1fhWu libmySQL.dll]
 
#*Windows: [https://puu.sh/1fhWu libmySQL.dll]
 
#*Linux: [https://github.com/syl0r/MySQLOO/raw/master/MySQL/lib/linux/libmysqlclient.so.18 libmysqlclient.so.18]
 
#*Linux: [https://github.com/syl0r/MySQLOO/raw/master/MySQL/lib/linux/libmysqlclient.so.18 libmysqlclient.so.18]

Revision as of 13:30, 14 October 2018

To allow a connection to your database, you will need to install a MySQL module on your Garry's Mod server. There are two: MySQLoo and tMySQL (doesn't get updates anymore).

Please not that you have to use different files, depending on the OS of your Garry's Mod server (Windows/Linux).

Installation

  1. Download this file and upload it to the folder where the SRCDS application is located (the root folder of your gameserver):
  2. Download this file and upload it to garrysmod/lua/bin (create it if it doesn't exist):

If you are not allowed to upload dll files, ask your hoster.