EOSERV Forum > EOSERV > Error when running server
Page: << 1 >>
Error when running server
Author Message
Post #199353 Error when running server

When I try to run my server, I get this error:

[ERR] Database_OpenFailed: Can't connect to MySQL server on 'localhost' (0)

I haven't found any solutions so far, any ideas on how to fix this?

8 years, 14 weeks ago
Post #199354 Re: Error when running server

Only things I can think of would be that either Mysql is not running like it should, or that it is out of date. Either that or it was set up wrong entirely. Not sure though, just my opinion.

I've never had that error appear where it wasn't 10061 so not sure. 

---
Former multi-server mapper.
8 years, 14 weeks ago
Post #199359 Re: Error when running server

Checklist: MySQL installed, install.sql (most recent version) installed, database config setup properly, also the Maria library (or MySQL for older builds) must use the same library version dll file as EOSERV was compiled with. If you still are having issues, you might find a SQLite build more suited for your capability level.

8 years, 14 weeks ago
Post #199360 Re: Error when running server

I've actually been trying to use SQlite in the first so its not making much sense to me. I thought I loaded everything into Sqliteman properly but I might not have so I'm just kind of retracing my steps now to see if there is anywhere I went wrong. I don't know if this would help but I'm just going by this tutorial, haha. https://eoserv.net/forum/topic/6462

8 years, 14 weeks ago
Post #199361 Re: Error when running server

Are you using a custom revision? I think the new official revs come with Sqlite already setup, all you need to do is add maps/pubs and it'll run.

8 years, 14 weeks ago
Post #199362 Re: Error when running server

I don't think I am, haha. I downloaded the newest package I could see under the download section which is EOSERV 0.6.2b and the newest version of Sqliteman I could find

8 years, 14 weeks ago
Post #199365 Re: Error when running server

Don't use that old guide. If you've edited anything in the config to do with databases, revert it. Just downloading eoserv and running eoserv.exe will setup sqlite for you.



---
http://sordie.co.uk
http://twitter.com/@SordieEO
8 years, 14 weeks ago
Post #199366 Re: Error when running server

Just tried that, getting an an error saying that "The program can't start because pthreadGC2.dll is missing from your computer"

8 years, 14 weeks ago
Post #199367 Re: Error when running server

You need to Google your missing file and include it in the folder your eoserv.exe is located. Same with the dll files for MySQL and/or SQLite. Those files are required.

8 years, 14 weeks ago
Post #199368 Re: Error when running server

Perfect, got it working, thanks guys :)

8 years, 14 weeks ago
Post #199369 Re: Error when running server

You're welcome.

8 years, 14 weeks ago
Page: << 1 >>

EOSERV Forum > EOSERV > Error when running server