Skip to content

Commit 6893fbb

Browse files
committed
Changed DB connection to use a dedicated mysql account
1 parent a28d640 commit 6893fbb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

PlayerCreator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public enum Class
2727

2828
public PlayerCreator()
2929
{
30-
_dbConnection = new MySqlConnection("server=localhost;user=root;database=atlas;port=3306;password=atlas");
30+
_dbConnection = new MySqlConnection("server=localhost;user=atlassimulator;database=atlas;port=3306;password=atlassimulator");
3131
}
3232

3333
public void Create(IPlayerClass pc){

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ This is currently based on client version 1124.
88

99
This project references AtlasCore/DOLDatabase ("..\AtlasCore\DOLDatabase\DOLDatabase.csproj") and must be cloned in parallel with AtlasCore. It might be possible to remove this reference at some point.
1010

11+
Requires a mysql account (user: `atlassimulator` pass: `atlassimulator` with access to the DB `atlas`.
12+
1113
The simulator has pretty limited capabilties at the moment and is mostly hardcoded to handle creation/login of level 50 paladins.
1214

1315
One usage is provided that will create the required accounts and chars in the database if needed. You will need to update PlayerCreator.cs with your specific mySQL database details (username/password)

0 commit comments

Comments
 (0)