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 ## Database setup
1. Import ZXDB data into MySQL. 1. Import ZXDB data into MySQL.
- For structure only (no data): use `ZXDB/ZXDB_mysql_STRUCTURE_ONLY.sql` in this repo. - Extract and import https://github.com/zxdb/ZXDB/blob/master/ZXDB_mysql.sql.zip
- For actual data, follow your usual ZXDB data import process.
2. Create helper search tables (required). 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. - This creates `search_by_titles`, `search_by_names`, `search_by_authors`, and `search_by_publishers` tables.
3. Create a readonly role/user (recommended). 3. Create a readonly role/user (recommended).