Update README.md

This commit is contained in:
barncastle
2021-04-20 09:05:48 +01:00
committed by GitHub
parent 8db0ff56ef
commit 0d889a4bb9

View File

@@ -23,7 +23,7 @@ A command line tool for exporting World of Warcraft's various DB files to SQL an
Exporting the current directory to SQL with foreign keys and table drop:
`MyDBC.exe --c "Server=localhost;Database=test;Uid=root;Pwd=;" --drop true --fk=true`
`MyDBC.exe --c "Server=localhost;Database=test;Uid=root;Pwd=;" --drop true --fk`
Exporting the current directory to CSV:
@@ -35,4 +35,4 @@ Exporting the current directory to CSV:
- `--connection` and `--output` can be used simultaneously.
- `--build` is required for all DBs before Legion so that DBCD can load the correct structure.
- The tool uses MySQL's `LOAD DATA` command which by default, appends to an existing table. You will need to use the `--drop` argument if this is not desired.
- Unfortunately WoWDBDef "foreign keys" are not supported, only "relations", due to them not lending themselves well to MySQL's optional foreign key constraints. In short; WoW uses `0` whereas MySQL uses `NULL` to dictate a missing reference.
- Unfortunately WoWDBDef "foreign keys" are not supported, only "relations", due to them not lending themselves well to MySQL's optional foreign key constraints. In short; WoW uses `0` whereas MySQL uses `NULL` to dictate a missing reference.