Difference between revisions of "MySQL"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
#Download this file and upload it to the folder where the '''SRCDS''' application is located (the root folder of your gameserver): | #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:// | + | #*Linux: [https://mega.nz/#!09gBhaSI!clcJ3v5jDYS3-8IJKCnPqIl0-KzHsxFf2rkt1yPwqPY 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] | #*Windows: [https://github.com/syl0r/MySQLOO/releases/download/9.5/gmsv_mysqloo_win32.dll gmsv_mysqloo_win32.dll] |
Revision as of 12:29, 13 January 2020
To allow a connection to your database, you will need to install a MySQL module on your Garry's Mod server.
Please note 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
- Linux: gmsv_mysqloo_linux.dll
If you are not allowed to upload dll files, ask your hoster.