Agon
v1.x.x
v1.x.x
  • Introduction
  • Changelog
    • 🟪v1.5.0.0
  • FAQ
    • 🟥Addon Won't Show
    • 🟥Incompatible Addons
    • 🟥Configuring Script
    • 🟥Modified Script
    • 🟥Refunds
    • 🟥Script Errors
    • 🟥Updates
  • ❱ Setup
    • 🟥Install
    • 🟥Database
    • 🟥Workshop
    • 🟥Troubleshooting
      • SQLite Storage Location
      • MySQL SRCDS Error 126
      • MySQL Timeouts
      • MySQL Won't Connect
  • ❱ Configuration
    • 🟥Settings
  • ❱ Development
    • 🟥Hooks
Powered by GitBook
On this page
  1. ❱ Setup
  2. Troubleshooting

MySQL Timeouts

If you notice that data is not being saved to your MySQL database, check the console for errors. If you notice errors related to the database timing out, you may need to enable keep-alive.

This setting may be required depending on how your MySQL server is configured.

To enable keep-alive, open the script's database configuration file located in:

addons/agon/agon.rlib

Locate the keepalive setting which should be in the database advanced table:

"adv"
{
    "debug"         "false"
    "heartbeat"     "true"
    "interval"      300
    "keepalive"     "false"
}

Change the keepalive setting from false to true:

"adv"
{
    "debug"         "false"
    "heartbeat"     "true"
    "interval"      300
    "keepalive"     "true"
}

PreviousMySQL SRCDS Error 126NextMySQL Won't Connect

Last updated 2 years ago

🟥