mirror of
https://github.com/araxiaonline/MyDBC.git
synced 2026-06-13 03:12:30 -04:00
Update README.md
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user