What's new

authserver.exe not working, closes instantly

BradleyS

Verified Member
7
2018
0
I am running Windows 7 64 bit and I am having an issue with my authserver.exe in version 7. I have version 6 running fine. 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 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

I am opening MySQL.bat before the authserver.exe. I am opening both MySQL and authserver.exe as Admin. I turned off firewall and anti-virus. I downloaded everything new, I am only using the newest downloads. All the IP's in my database, and the authserver/worldserver.conf are all 127.0.0.1.

Any help would be great! Thanks!
 
Last edited:

mastermind

Silver Supporter
Senior User
188
2017
13
Location
PA, USA
You should not have to replace the libmysql.dll that comes with the release download. This is the correct version for the version of MYSQL used by the DB server.

The libeay32.dll and ssleay32.dll do need to be copied from the OpenSSL install/bin folder which it looks like you did.

Lastly you should not need to copy the Visual Studio DLL's (msvcp120.dll and msvcr120.dll) if you installed the vcredist_x86 in the Required Software.rar in the server download.

I suspect the main issue is the libmysql.dll that is preventing the connection to the DB.


Good luck.
 

BradleyS

Verified Member
7
2018
0
I replaced the libmysql.dll with the original one and I am still getting same error. In fact I have unpacked this now three times to make sure there that was not the problem, always the same error.
 

Mr. Satan

Admiral Squatbar
Mythical User
Head Moderator
Gold Supporter
MoP Premium
Superior Member
1,012
2016
197
Location
World Martial Arts Championships
I am running Windows 7 64 bit and I am having an issue with my authserver.exe in version 7. I have version 6 running fine. 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 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

I am opening MySQL.bat before the authserver.exe. I am opening both MySQL and authserver.exe as Admin. I turned off firewall and anti-virus. I downloaded everything new, I am only using the newest downloads. All the IP's in my database, and the authserver/worldserver.conf are all 127.0.0.1.

Any help would be great! Thanks!

"Check your SQLDriverLogFile for specific errors."
Check that log to see what the errors are.

What Operating System/OS Version are you on?
 

BradleyS

Verified Member
7
2018
0
I am running Windows 7 64 bit, however I tried it on a 32 bit version of Windows 7 with same results. Where is the SQLDriverLogFile I cannot find it?
 
Last edited:

eyerobot

Gold Supporter
Superior Member
916
2015
24
Location
Barryton Michigan USA
Did you check your .conf files? The database name in the conf file has to be the same as the actual auth database name, This applies to all the conf and databases.
So if your database is named V7-auth, Then in the conf file it says emucoach-V7-auth, Theres going to be a problem that will shut you down like that.
 

BradleyS

Verified Member
7
2018
0
I don't understand, I did not rename anything, just downloaded, put files in proper folders and now I am having this issue. I did the exact same thing for version 6 and it works perfectly. Could this be a Microsoft Visual C++ Redistributable issue my latest version is 2015?
 

BradleyS

Verified Member
7
2018
0
I got it fixed. I downloaded all the files again from scratch and now it is working. It must have been a bad download somewhere along the line. Thank you so much for all of your help.
 

Mr. Satan

Admiral Squatbar
Mythical User
Head Moderator
Gold Supporter
MoP Premium
Superior Member
1,012
2016
197
Location
World Martial Arts Championships
I got it fixed. I downloaded all the files again from scratch and now it is working. It must have been a bad download somewhere along the line. Thank you so much for all of your help.

Sorry we were unable to assist properly, and that we didn't suggest something along those lines to fix it.
We are glad you've gotten the issue solved though! Remember, if there's any more problems, just post them and we'll be happy to help!
 
Top