Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-11-2013, 07:46 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default Queryserv cannot connect to database

I updated my server's source code today, but now I can no longer long a character into the game. As soon as you try to connect to my server, it just freezes up. The only error I noticed is
Code:
Failed to connect to database: Error: #2003: Can't connect to MySQL server on 'localhost' (0)
in the logs. World and zone are both still connecting to my database though, so I am not sure what is wrong.
Reply With Quote
  #2  
Old 08-11-2013, 08:50 PM
fwaits
Fire Beetle
 
Join Date: Jul 2010
Location: Folsom, CA
Posts: 28
Default

I had the same issue recently with my login server, the fix was changing the setting for connection to the DB in the config file from localhost to 127.0.0.1. Windows Server 2008 R2 at least, does auto DNS resolution and pinging localhost gives ::1: rather than 127.0.0.1 unless you force it in the hosts file.
Reply With Quote
  #3  
Old 08-11-2013, 08:56 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

Make sure you have this config in your eqemu_config.xml

Code:
	<qsdatabase>
		<host>localhost</host>
		<port>3306</port>
		<username>user</username>
		<password>pass</password>
		<db>queryserv</db>
	</qsdatabase>
Of course, make sure it compliments your actual database settings
Reply With Quote
  #4  
Old 05-31-2015, 03:57 PM
moltke24
Sarnak
 
Join Date: Dec 2011
Posts: 63
Default sorry for the grave digging

Quote:
Originally Posted by Randymarsh9 View Post
I updated my server's source code today, but now I can no longer long a character into the game. As soon as you try to connect to my server, it just freezes up. The only error I noticed is
Code:
Failed to connect to database: Error: #2003: Can't connect to MySQL server on 'localhost' (0)
in the logs. World and zone are both still connecting to my database though, so I am not sure what is wrong.
I'm having this same issue and i dont think my peq password is working anymore in mysql, i haven't changed anything but can't log into it anymore.

anyone know anything about reestablishing your password to access mysql?
Reply With Quote
  #5  
Old 05-31-2015, 04:45 PM
moltke24
Sarnak
 
Join Date: Dec 2011
Posts: 63
Default nevermind

I just reinstalled mysql and then changed the password back to the same thing and it worked again
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:05 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3