Articles on: Garry's Mod

How to setup MySQL for GAS (bLogs/bWhitelist)

💽 How to setup MySQL for bLogs and bWhitelist (GModAdminSuite)



In this guide we'll go over setting up a MySQL database to your GModAdminSuite addons, whether it be bLogs, bWhitelist this guide applies to both!

Requirements


Before connecting your database you'll need to setup a couple of things. Such as an existing database and the gas-config addon.

Installing GmodAdminSuite (GAS Config)
Creating a MySQL database
Installing MySQLOO

Connecting the database to GModAdminSuite


GModAdminSuite basically connects various server management addons such as bLogs, bWhitelist, bAdminSits, etc.. So we'll only need to fill in the gas-config for MySQL details!

Navigate to Your Server in the Physgun Gamepanel
Navigate to Management > File Manager
Navigate to /garrysmod/addons/gas-config/lua/gmodadminsuite_mysql_config.lua in the File Manager
Navigating to the MySQL config
Fill in the Host, Username, Database Name, and Password.
Ensure you have set GAS.Config.MySQL.Enabled to true
Click Save File on the bottom right
Restart your server and you're done!

Updated on: 21/08/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!