docs-en:database-installation.md

Database Installation

Installation Guide
This article is a part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps.
<< Step 3: Server Setup Step 5: Networking >>

First of all, you need to create the acore user. You need to run the script below within a MySQL client or with the MySQL command-line interface (CLI). You need to run the script as the root user of MySQL within a MySQL client or the MySQL cli.

https://github.com/azerothcore/azerothcore-wotlk/blob/master/data/sql/create/create_mysql.sql

{% include important.html content=“Use the MySQL root user ONLY to run the script above, never run the core as root or administrator!” %}

{% include tip.html content=“You can change the password of the user you are creating for increased security.” %}

If you want to know how the SQL directory works or plan to have custom changes we recommend you read this.

Automatic Database Updater

The Auth- and Worldserver checks and applies all needed database files at startup.

To edit the automatic database updater you will find the necessary settings in authserver.conf and worldserver.conf under UPDATE SETTINGS.

  1. Start Authserver.
  2. Start Worldserver.

If you get the following message in your console press enter to create and populate the databases.

Database "acore_auth" does not exist
Do you want to create it? [yes (default) / no]:

<br>

If you are still having problems, check:

Installation Guide
This article is a part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps.
<< Step 3: Server Setup Step 5: Networking >>
  • docs-en/database-installation.md.txt
  • 最后更改: 2024/03/15 19:08
  • 127.0.0.1