这是本文档旧的修订版!
数据库安装
安装指南 | |
本文是《安装指南》的一部分。您可以单独阅读它,也可以单击上一个链接以在步骤之间轻松移动。 | |
<< Step 3: 服务器设置 | Step 5: 联网 >> |
Creating the Database in MySQL
Creating the Databases and User
First of all, you need to create the acore user using the script below.
https://github.com/azerothcore/azerothcore-wotlk/blob/master/data/sql/create/create_mysql.sql
You can perform this with a MySQL client or with the MySQL command-line interface (CLI).
You need to run the script above as the root user of MySQL within a MySQL client or the MySQL cli.
Note: Use the MySQL root user ONLY to run the script above, never run the core as root or administrator!
Tip: You can change the password of the user you are creating for increased security.
Populating the database
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.
Start Authserver. 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]: