MySQL
Jump to navigation
Jump to search
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
- Download this file and upload it to the folder where the SRCDS application is located (the root folder of your gameserver):
- Windows: libmySQL.dll
- Linux: libmysqlclient.so.18
- Download this file and upload it to garrysmod/lua/bin (create it if it doesn't exist):
- Windows: gmsv_mysqloo_win32.dll (recommended) or gmsv_tmysql4_win32.dll (outdated)
- Linux: gmsv_mysqloo_linux.dll (recommended) or gmsv_tmysql4_linux.dll (outdated)
If you are not allowed to upload dll files, ask your hoster.