TrinityCore/TrinityCore — Issue #4408: AuthServer and WorldServer ignore database connection string in config file
Author: smaitlx
Created: 2011-12-20 07:42:25+00:00
State: open

Regardless of what is specified in authserver.conf and worldserver.conf, auth and worldserver.exe still tries to connect using "127.0.0.1;3306;trinity;trinity;[dbname]".

Example:

AuthServer.conf shows a connection string of "nsc-co-sql1.nosc.us;root;root_password_here;Auth"
AuthServer.exe says "cannot connect to auth database 127.0.0.1;3306;trinity;trinity;auth"

WorldServer.conf shows connection strings:
LoginDatabaseInfo = "nsc-co-sql1.nsoc.us;3306;root;password_here;Auth"
WorldDatabaseInfo = "nsc-co-sql1.nosc.us;3306;root;password_here;World"
CharacterDatabaseInfo = "nsc-co-sql1.nosc.us;3306;root;password_here;Char"

WorldServer.exe says:
Opening databasepool 'world'. Async threads: 1, synch threads: 1
Could not connect to MySQL database at 127.0.0.1.
Cannot connect to world database 127.0.0.1;3306;trinity;trinity;world