[Archive] World/Authserver.exe Can't Open Auth.conf/World.conf
[Archive] World/Authserver.exe Can't Open Auth.conf/World.conf
Archived author: bloodthunder69 • Posted: 2025-11-04T18:14:49.791163
Original source
Hello!
I recently compiled my own trinity core, and have everything functioning except for the two most crucial functions, the worldserver.exe and authserver.exe.
Every time i try to open them, they immediately close, generate no logs (even though i have a log directory set) and reset. After spamming them a few times, i made out what it was saying. "Error in config file. Cannot open auth.conf (C:/(directory)" even though i haven't even changed anything on them. I have all of my databases in heidisql setup, and updated. I have all of the freshly extracted map files in my data directory, yet neither of them still won't open, and give the same error every time! I have tried every single last method i could think of, recompiling, resetting, deleting the entire set-up and redoing it, but it still does not function. I am in dire need of assistance. Thank you all!
Archived author: bloodthunder69 • Posted: 2025-11-04T18:14:49.791163
Original source
Hm, sounds a bit odd. First of all, you can always open cmd, CD to your directory path, and type worldserver so that you can see the error without it closing. And are the config files, actual .conf files, and not .dist files? It can have a big impact.
Archived author: bloodthunder69 • Posted: 2025-11-04T18:14:49.791163
Original source
Thanks but i figured it out... pretty strange considering this is the first time it has happened to me after several successful compiles.
For any who might also run into this error, the way i solved it was:
create a new blank text document
copy and paste the entire (auth/worldserver).conf text into the blank document
rename the document (authserver/worldserver).conf <---- make sure you have change file ending enabled so you can convert it from a text document to a .conf file
place them in the folder with your auth/worldserver.exe
??
profit.
Archived author: bloodthunder69 • Posted: 2025-11-04T18:14:49.791163
Original source
i do as you say, but still the same, whenever i run wordlserver.exe it closed immediately. please check the image. i got that error using cmd to open worldserver.exe
http://i.imgur.com/P2U4mYi.png
Quote:wahjoe said:Looks like you have an incorrectly named database. You should only have a "world", "auth", and "characters" database along with the baseline MYSQL "infomation_schema", "mysql", "performance_schema" and "test"
i do as you say, but still the same, whenever i run wordlserver.exe it closed immediately. please check the image. i got that error using cmd to open worldserver.exe
http://i.imgur.com/P2U4mYi.png
Click to expand...
Archived author: bloodthunder69 • Posted: 2025-11-04T18:14:49.791163
Original source
Quote:wahjoe said:Looks like you have an incorrectly named database. You should only have a "world", "auth", and "characters" database along with the baseline MYSQL "infomation_schema", "mysql", "performance_schema" and "test"
i do as you say, but still the same, whenever i run wordlserver.exe it closed immediately. please check the image. i got that error using cmd to open worldserver.exe
http://i.imgur.com/P2U4mYi.png
Click to expand...
Archived author: bloodthunder69 • Posted: 2025-11-04T18:14:49.791163
Original source
First, you rock and thank you! I am having an issue with my authserver.exe in version 7. I had version 6 running fine fyi. I run the MySQL.bat with no errors, then when I try to run the authserver.exe it opens and closes real fast. I have been reading on here for two days and have tried everything, I do mean everything '-). I did manage to get a screen shot of the error and this is what it read.
Using configuration file authserver.conf.
OpenSSL 1.0.1u 22 Sep 2016 (library: OpenSSL 1.0.1h 5 Jun 2014)
Could not connect to MySQL database at 127.0.0.1: Unknown database 'emucoach-auth'
DatabasePool emucoach-auth NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors.
Cannot connect to database
Any help you could give me would be wonderful, thank you in advance.
Quote:BradleyS said:Are you opening MySQL.bat before you open the authserver.exe? Are you opening both MySQL and authserver.exe as Admin?
First, you rock and thank you! I am having an issue with my authserver.exe in version 7. I had version 6 running fine fyi. I run the MySQL.bat with no errors, then when I try to run the authserver.exe it opens and closes real fast. I have been reading on here for two days and have tried everything, I do mean everything '-). I did manage to get a screen shot of the error and this is what it read.
Using configuration file authserver.conf.
OpenSSL 1.0.1u 22 Sep 2016 (library: OpenSSL 1.0.1h 5 Jun 2014)
Could not connect to MySQL database at 127.0.0.1: Unknown database 'emucoach-auth'
DatabasePool emucoach-auth NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors.
Cannot connect to database
Any help you could give me would be wonderful, thank you in advance.
Click to expand...
Archived author: bloodthunder69 • Posted: 2025-11-04T18:14:49.791163
Original source
Quote:BradleyS said:Are you opening MySQL.bat before you open the authserver.exe? Are you opening both MySQL and authserver.exe as Admin?
First, you rock and thank you! I am having an issue with my authserver.exe in version 7. I had version 6 running fine fyi. I run the MySQL.bat with no errors, then when I try to run the authserver.exe it opens and closes real fast. I have been reading on here for two days and have tried everything, I do mean everything '-). I did manage to get a screen shot of the error and this is what it read.
Using configuration file authserver.conf.
OpenSSL 1.0.1u 22 Sep 2016 (library: OpenSSL 1.0.1h 5 Jun 2014)
Could not connect to MySQL database at 127.0.0.1: Unknown database 'emucoach-auth'
DatabasePool emucoach-auth NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors.
Cannot connect to database
Any help you could give me would be wonderful, thank you in advance.
Click to expand...
Quote:BradleyS said:Make sure that you download and install openssl 101u non lite version, And copy ssleay32.dll from syswow64 or system32 into your repack release folder. Also install vcredistx86 and vcredist64 depending on wether your system is 32 or 64 bit. If your unsure, right click my computer and go to properties, It will show your os on that page.
First, you rock and thank you! I am having an issue with my authserver.exe in version 7. I had version 6 running fine fyi. I run the MySQL.bat with no errors, then when I try to run the authserver.exe it opens and closes real fast. I have been reading on here for two days and have tried everything, I do mean everything '-). I did manage to get a screen shot of the error and this is what it read.
Using configuration file authserver.conf.
OpenSSL 1.0.1u 22 Sep 2016 (library: OpenSSL 1.0.1h 5 Jun 2014)
Could not connect to MySQL database at 127.0.0.1: Unknown database 'emucoach-auth'
DatabasePool emucoach-auth NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors.
Cannot connect to database
Any help you could give me would be wonderful, thank you in advance.
Click to expand...
Archived author: bloodthunder69 • Posted: 2025-11-04T18:14:49.791163
Original source
Quote:BradleyS said:Make sure that you download and install openssl 101u non lite version, And copy ssleay32.dll from syswow64 or system32 into your repack release folder. Also install vcredistx86 and vcredist64 depending on wether your system is 32 or 64 bit. If your unsure, right click my computer and go to properties, It will show your os on that page.
First, you rock and thank you! I am having an issue with my authserver.exe in version 7. I had version 6 running fine fyi. I run the MySQL.bat with no errors, then when I try to run the authserver.exe it opens and closes real fast. I have been reading on here for two days and have tried everything, I do mean everything '-). I did manage to get a screen shot of the error and this is what it read.
Using configuration file authserver.conf.
OpenSSL 1.0.1u 22 Sep 2016 (library: OpenSSL 1.0.1h 5 Jun 2014)
Could not connect to MySQL database at 127.0.0.1: Unknown database 'emucoach-auth'
DatabasePool emucoach-auth NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors.
Cannot connect to database
Any help you could give me would be wonderful, thank you in advance.
Click to expand...