Difference between revisions of "MySQL"

From GExtension Wiki
Jump to navigation Jump to search
(Created page with "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). P...")
 
Line 6: Line 6:
 
#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:
 
#*Windows: [https://puu.sh/1fhWu libmySQL.dll]
 
#*Windows: [https://puu.sh/1fhWu libmySQL.dll]
#*Linux: [https://puu.sh/1ikIN libmysql.so.16]
+
#*Linux: [https://github.com/syl0r/MySQLOO/raw/master/MySQL/lib/linux/libmysqlclient.so.18 libmysqlclient.so.18]
 
#Download this file and upload it to '''garrysmod/lua/bin''' (create it if it doesn't exist):
 
#Download this file and upload it to '''garrysmod/lua/bin''' (create it if it doesn't exist):
 
#*Windows: [https://github.com/syl0r/MySQLOO/releases/download/9.5/gmsv_mysqloo_win32.dll gmsv_mysqloo_win32.dll] or [https://github.com/bkacjios/gm_tmysql4/releases/download/R1/gmsv_tmysql4_win32.dll gmsv_tmysql4_win32.dll] or  
 
#*Windows: [https://github.com/syl0r/MySQLOO/releases/download/9.5/gmsv_mysqloo_win32.dll gmsv_mysqloo_win32.dll] or [https://github.com/bkacjios/gm_tmysql4/releases/download/R1/gmsv_tmysql4_win32.dll gmsv_tmysql4_win32.dll] or  

Revision as of 11:02, 28 September 2017

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:
  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.