Hunter CodyChat Store Marketplace de CodyChat
Base de conocimiento

CodyChat Database Guide | Tables, Backups, Safe Edits

Understand the CodyChat MySQL database: what the main tables store, how to back up and restore safely, and how to make small edits without breaking the chat.

Your database holds every account, message, room and setting. Files can be replaced from an archive; the database cannot be re-downloaded. Treat it as the most valuable part of the site.

What lives where

Accounts, rooms, messages, ranks and settings all sit in separate tables, usually with a shared prefix. You do not need to memorise them, but knowing which table holds settings makes it easier to follow support instructions.

Backups that are actually usable

Export with a tool that preserves character encoding, and store copies somewhere other than the same server. Keep a schedule: daily for an active community, plus a manual export before any update or addon install.

Making small edits safely

For something like a stuck setting, change one row at a time and note the old value first. Never run a broad UPDATE without a WHERE clause. If you are unsure, export the table first and ask support.

When the database misbehaves

Connection errors, slow pages and duplicate content usually point at the database. Check disk space, connection limits and table health before assuming the script is at fault.

Frequently asked questions

Can I move to a new database host?
Yes. Export, import into the new database, then update the connection details in the config file. Test the chat before changing DNS.

How large will my database grow?
Text is small; a busy room can still reach hundreds of megabytes over years. Media uploads usually live on disk, not in the database.

Should I install database addons?
Only from a trusted source, and always after a backup. A bad query can lock tables and take the room down.