MySQL Won't Connect
Last updated
Last updated
Ensure you have installed the MySQLOO module in the proper location.
Download the current version of MySQLOO from https://github.com/FredyH/MySQLOO/releases
You must select the correct version depending on what operating system your server is running.
File | Description |
---|---|
Once you have downloaded the correct .DLL, upload it to your server in the following folder:
garrysmod/lua/bin/
If the bin folder does not exist on your server, create it and then upload the .DLL
After uploading the .DLL, open your Agon database configuration file located in:
addons/agon/agon.rlib
Ensure you've switched the mode over to MySQL by editing the following line of code in the database configuration file:
Finally, confirm you've entered the correct credentials in the Agon database config file:
Make sure you've provided the correct MySQL database information in the settings above. Confirm the actual IP address that your MySQL server uses. If you are unsure, reach out to your hosting company via a support ticket.
After all the instructions are followed above, restart your Garry's Mod server. In the console, you should see an output similar to the following:
Linux 32-bit operating system
Linux 64-bit operating system
Windows 32-bit operating system
Windows 64-bit operating system