diff options
| author | Francesco Borzì <borzifrancesco@gmail.com> | 2019-08-02 18:01:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-02 18:01:02 +0200 |
| commit | 3031d8193408da1bb3421dbf02c15fcda432e6dd (patch) | |
| tree | a95aef18a05d1bacc1a1f9c7d7fe090a9527e3a6 /docs | |
| parent | b718c44638dcd452e61484dfa96b5f0b560374ce (diff) | |
| download | wiki-3031d8193408da1bb3421dbf02c15fcda432e6dd.tar.gz wiki-3031d8193408da1bb3421dbf02c15fcda432e6dd.tar.bz2 wiki-3031d8193408da1bb3421dbf02c15fcda432e6dd.zip | |
Create Database-Manual-Setup.md
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/Database-Manual-Setup.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/Database-Manual-Setup.md b/docs/Database-Manual-Setup.md new file mode 100644 index 0000000..15ff59f --- /dev/null +++ b/docs/Database-Manual-Setup.md @@ -0,0 +1,27 @@ + +## How to setup the AzerothCore DB manually + +### MySQL client tool + +In order to set up your database, you can use whatever MySQL client you like. Some examples are [HeidiSQL](http://www.heidisql.com/download.php), [SequelPro](http://www.sequelpro.com/) and [phpMyAdmin](https://www.phpmyadmin.net/). + +We will assume that you already know how to perform the basic tasks like creating a new database, selecting a database and importing a SQL dump file. If you don't, don't worry: it's very easy and you will find a lot of guides on Google, whatever MySQL client tool you're using. + +### Creating the databases + +Create three empty databases: + +- `acore_world` +- `acore_characters` +- `acore_auth` + + +### Importing the SQL files + +The SQL files are located under `/data/sql/` directory. + +In `data/sql/base` there are the files to create the base structure & contents for the 3 database (world, auth and characters). + +Similarly, in `data/sql/updates` there are the updates that our developers add with time. + +Importing those files manually one by one is a long process that can be automated. The script `apps/db_assembler/db_assembler.sh` allows you to assemble those files (i.e. merge them together), so the process of importing them will be faster. |
