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.
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.luain the File Manager

- Fill in the
Host,Username,Database Name, andPassword. - Ensure you have set
GAS.Config.MySQL.Enabledtotrue - Click
Save Fileon the bottom right - Restart your server and you're done!
Updated on: 25/11/2024
Thank you!
