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 04-12-2007, 08:42 AM
mrichburg
Fire Beetle
 
Join Date: Aug 2005
Location: Buffalo, NY
Posts: 11
Default Failed to connect to database: Error: #1251

I've been getting following error message when I run EQEmu:
Failed to connect to database: Error: #1251
(Client does not support authentication protocol requested by server; consider upgrading MySQL client)

Here my setup:

Op System: Windows 2000 Server
EQEmu Version: EQEmu-0.7.0-992
DB Version: peq (downloaded April 10th using WinCVS instructions)
MySQL Version: 5.0.37-community-nt
MySQL Admin Version: 1.2.11

I issued the following command in the MySQL Command Client:
GRANT ALL PRIVILEGES ON peq.* TO eq@localhost IDENTIFIED BY 'eq' WITH GRANT OPTION;

In the MYSQL Admin, I set the password to eq for the eq user

In have the following in my eqemu_config:
<database>
<host>localhost</host>
<port>3306</port>
<username>eq</username>
<password>eq</password>
<db>peq</db>
</database>



Can anyone suggest any tips or tell me what I'm doing wrong?
__________________
GM Admin @
Poppey's Workshop
Reply With Quote
  #2  
Old 04-12-2007, 04:08 PM
techguy84's Avatar
techguy84
Discordant
 
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
Default

Run this code first,

Code:
SET PASSWORD FOR 'eq'@'localhost' = OLD_PASSWORD('newpwd');
Where it says 'newpwd' type in your password that you used when you ran the Instance Configuration Wizard. Type it in between the ' marks and make sure they are still there otherwise the query wont complete. IF that dont work try this one and keep reading.

Code:
SET PASSWORD FOR 'root'@'localhost' = OLD_PASSWORD('newpwd');


Once that is done, I would suggest changing your xml to reflect this

Code:
<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>INSERT YOUR PASSWORD</password>
<db>peq</db>
</database>
The reason being is that when you install SQL, your automatticaly given the Root account. Then you run the Instance Config and set the password for that account.

You then take this information and plug it into your xml like above. Hope this helps, and I hope you make it farther than me with the 992 release of the emu as I cant seem to get it going.

Last edited by techguy84; 04-13-2007 at 12:10 AM..
Reply With Quote
  #3  
Old 04-13-2007, 09:21 AM
mrichburg
Fire Beetle
 
Join Date: Aug 2005
Location: Buffalo, NY
Posts: 11
Default

Thanks for the response. That seemed to do the trick.
__________________
GM Admin @
Poppey's Workshop
Reply With Quote
  #4  
Old 01-08-2009, 04:47 AM
Darquedante
Fire Beetle
 
Join Date: Jan 2009
Location: WY
Posts: 2
Default

Where do you run that code?
Reply With Quote
  #5  
Old 01-09-2009, 04:28 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

That's mysql prompt. Mysql has a prompt typically at (%MySQLDir%)/bin/mysql.exe.
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 09:37 PM.


 

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