Investigate a LiteBans database connection failure without losing history

A database connection error does not mean punishment history is gone. Preserve the existing database and inspect connectivity before changing storage type or allowing players around active restrictions.

Follow the procedure

  1. Capture the first LiteBans startup error and its timestamp from the game console. Remove passwords and connection tokens before sharing the log with support.
  2. Run the read-only /litebans info command when available and record the reported pool state. Distinguish authentication failures from DNS, connection timeout and schema errors.
  3. Compare the configured database host, port, database name and username with the panel’s database details. Check which source host is allowed to connect without opening the database publicly.
  4. Have the database administrator verify service health and the existing schema. Take a consistent database backup before any migration or schema repair, including the current configuration.
  5. Correct only the identified connection detail. Use the installed release’s supported reload procedure, noting that /litebans reload reconnects the database and can briefly change availability.
  6. Query a known historical record and a current trial restriction after reconnecting. Confirm both persisted data and current enforcement before marking the incident resolved.
CloudExa game panel: database connection details
CloudExa game panel reference. This image shows the panel, not the LiteBans interface.

Check the result

The original database should reconnect and return known punishment records with their previous identifiers and dates. A clean startup alone is insufficient if the plugin has accidentally connected to a new empty database. Compare several established records before resuming routine moderation.

If the result is wrong

If the connection still fails, restore the prior connection configuration and retain the first error for support. Do not reset tables, switch to an empty database or run an upgrade command repeatedly without a matching recovery plan. Database errors require preserving evidence, not erasing it.

References and related help


Revision #1
Created 2026-11-09 16:36:17 UTC by CloudExa Hosting Admin
Updated 2026-11-09 16:36:17 UTC by CloudExa Hosting Admin