Update docs/ZXDB.md

This commit is contained in:
2025-12-17 12:05:50 +00:00
parent f563b41792
commit 038c60338b

View File

@@ -15,11 +15,10 @@ ZXDB ( https://github.com/zxdb/ZXDB )is a communitymaintained database of ZX
## Database setup
1. Import ZXDB data into MySQL.
- For structure only (no data): use `ZXDB/ZXDB_mysql_STRUCTURE_ONLY.sql` in this repo.
- For actual data, follow your usual ZXDB data import process.
- Extract and import https://github.com/zxdb/ZXDB/blob/master/ZXDB_mysql.sql.zip
2. Create helper search tables (required).
- Run `ZXDB/scripts/ZXDB_help_search.sql` on your ZXDB database.
- Run `https://github.com/zxdb/ZXDB/blob/master/scripts/ZXDB_help_search.sql` on your ZXDB database.
- This creates `search_by_titles`, `search_by_names`, `search_by_authors`, and `search_by_publishers` tables.
3. Create a readonly role/user (recommended).