-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Xyranaut edited this page Jun 1, 2026
·
9 revisions
Welcome! This wiki is a book — read it top to bottom if you're new, or jump to what you need. It starts from "what even is a database?" and builds up to a full login/register system.
In a hurry? → Quick Start (10 minutes) Brand new to open.mp? → open.mp basics Hit an error? → Troubleshooting & FAQ
- open.mp basics (total newcomers) — gamemode/component/native/callback
- What is MySQL? (start from zero)
- How an open.mp server talks to a database — with diagrams
- Why omp-MySQL? (vs. SA-MP-MySQL)
- MySQL versions & history
- Quick Start (10 minutes) — fastest path to a working connection
- Installing MySQL (for complete beginners) — download links + GUI walkthrough
- Docker Compose example — run MySQL the tidy way
- Getting started
- Configuration — credentials, TLS, the safe way
- SQL crash course — learn SELECT/INSERT/UPDATE/DELETE from scratch
- Designing your tables — schema basics
- Storing game data — the right column types
- Dates & times
- Your first queries
- Async patterns & pitfalls — the #1 thing to understand
- Reading results (result sets) — getting data back
- Prepared statements — the safe way to use user input
- Passwords & hashing — Argon2id, login/register/change
- Transactions — all-or-nothing changes (money transfers)
- Models (active-record) — read/write a row without writing SQL
- Tutorial: a simple login system from scratch — step by step
- The mysql-admin demo — a full login/register system to learn from
- Building from source — Windows · Linux · macOS
-
Native reference — every
mysql_*function - Performance & best practices — keep your server smooth
- Multiple connections & databases — when one isn't enough
- Backups & maintenance — don't lose your players' data
- VECTOR & similarity search — MySQL 9.0+ AI features
- Migrating from SA-MP-MySQL
- Security — threat model, hardening, what we pentested
- Cheat sheet — everything on one page
- Cookbook — copy-paste recipes for everyday tasks
- Troubleshooting & FAQ — errors, what they mean, fixes
- Glossary — every term in plain English
- Changelog — version history
- Contributing — report bugs, build, submit PRs
Never used a database? Start at What is MySQL? — it assumes you know nothing and explains everything with simple pictures.
Understand
Use
- Installing MySQL
- Docker Compose
- Getting started
- Configuration
- SQL crash course
- Designing your tables
- Storing game data
- Dates & times
- First queries
- Async patterns
- Reading results
- Prepared statements
- Passwords & hashing
- Transactions
- Models (active-record)
- Tutorial: login system
- mysql-admin demo
Deeper
Reference