Configuration
From WCell
RealmServer Configuration
AuthServer Configuration
The configuration files are called "Config.xml" and located in the Binary folders:
- RealmServer: Run/RealmServer/{BuildMode}/Config.xml and
- AuthServer: Run/AuthServer/{BuildMode}/Config.xml
{BuildMode} stands for the mode in which WCell was built: Debug or Release.
The files are created automatically after the first run as of rev 665.
[edit] Database Settings
WCell will try to connect to the local MSSQL database with the Administrator login by default. If you want to use a different setting, you have to change two configuration Parameters in the Config-file of the AuthServer and/or RealmServer correspondingly:
- DBType
- DBConnectionString
You can find a list of all ConnectionString-formats of all Databases on http://www.connectionstrings.com/.
NOTE: All fields of the ConnectionString are case-sensitive
NOTE: Make sure, it doesn't contain any leading/trailing spaces ( ), semicolons (;) or unwanted quotation marks ("")
If WCell fails to start due to anything Database-related, make sure, you set the information in the right configuration-file!
[edit] MySQL
Just replace:
SERVERADDRESS (address of the machine, which is running the database - e.g. localhost)
AUTHDATABASE(name of the database which you want to use for AuthServer - e.g WCellAuthServer)
REALMDATABASE (name of the database which you want to use for AuthServer - e.g. WCellRealmServer)
USER (The username to use for login - e.g. root)
PASSWORD (The password for your login)
in your Run\AuthServer\{BuildMode}\Config.xml file:
<DBType>mysql5</DBType> <DBConnectionString>Server=SERVERADRESS;Port=3306;Database=AUTHDATABASE;Uid=USER;Pwd=PASSWORD</DBConnectionString>
in your Run\RealmServer\{BuildMode}\Config.xml file:
<DBType>mysql5</DBType> <DBConnectionString>Server=SERVERADRESS;Port=3306;Database=REALMDATABASE;Uid=USER;Pwd=PASSWORD</DBConnectionString>
