Use another way to connect to database. (#3)

* Use another way to connect to database. Actual way crash if mysql user doesn't have for example the password.

* remove tabs -> spaces
This commit is contained in:
Elle
2017-07-07 17:00:52 +02:00
committed by hondacrx
parent 9b4549874a
commit db31558ded
6 changed files with 84 additions and 13 deletions
+5 -1
View File
@@ -92,7 +92,11 @@ WrongPass.BanType = 0
# Unix/Linux)
# Default: "127.0.0.1;3306;username;password;auth"
LoginDatabaseInfo = "127.0.0.1;3306;username;password;auth"
LoginDatabaseInfo.Host = "127.0.0.1"
LoginDatabaseInfo.Port = "3306"
LoginDatabaseInfo.Username = "username"
LoginDatabaseInfo.Password = "password"
LoginDatabaseInfo.Database = "auth"
#
# DBQueryWorkerInterval