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-08-2006, 07:09 PM
daemonreaver
Fire Beetle
 
Join Date: Apr 2006
Posts: 21
Default SQL Error: Authentication Outdated (MySQL 4.1)

Alright, I had this problem with PHP once, ages ago, and EQemu is so far the only program I've found that can't suffice with just dropping a new MySQL connector lib (libmysql.dll) in the folder with the offending .exe.

world error log:
[04.09. - 02:59:26] Failed to connect to database: Error: #1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client

debug error log:
[04.09. - 02:59:26] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.6.6
[04.09. - 02:59:26] [WORLD__INIT] Connecting to MySQL...
[04.09. - 02:59:26] [WORLD__INIT_ERR] Cannot continue without a database connection.


MySQL Version string: "MySQL 4.1.18-nt-max running on localhost" - a standard install that works for about 16 other apps without any dll updating (except PHP5, which was stubborn).

XML config *is* set properly for the correct DB.

Note: This error occurs even if the XML is set to log in as root.

Is there and easy way to update the connector (without installing VisStudio and compiling)? Or should I try and find an older version that will use an external library (dll)?

---

I am going to try to co-exist 4.0 and 4.1 on the same machine (easy, just change the 4.0 server port to 3307 as per docs) and see if it'll connect. THis might fix it for now, however, support for 4.1 would be nice, since the folks at MySQL are slowly phasing out 4.0 and support for it.

Last edited by daemonreaver; 04-09-2006 at 03:44 AM..
Reply With Quote
  #2  
Old 04-11-2006, 01:27 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

4.1 works fine, you just have to re-build eqemu yourself. 5.0 has problems however.
Reply With Quote
  #3  
Old 04-12-2006, 03:04 PM
daemonreaver
Fire Beetle
 
Join Date: Apr 2006
Posts: 21
Default

Bleg.. MySQL 5x has issues with everything lately, I run it for test only.

As far as building the binaries.. Would VC++ 6.0 be capable (haven't had it installed for a while lol).. Or should i pick up VS 2005?

I think I have the C libs for 4.1 somewhere in my MySQL dirs (too many SQL's installed!) lol.

So far, 0.6.6 runs nicely (once I added the missing guild tables by hand), just have an issue with the loginserver (another thread lol)
Reply With Quote
  #4  
Old 04-12-2006, 11:20 PM
Belfedia
Demi-God
 
Join Date: Jan 2005
Posts: 1,109
Default

I update mysql 4.0 to 4.1 and i have same problems before use this help guide :
http://www.webyog.com/faq/23_58_en.html
Now That work
__________________
__________________________________________________ _____________________________________
I speak english like a spanish cow..., I speak spanish like a english pudding...
But I try to speak good french !!! (Non au langage SMS sur forum)
http://eqfroggy.new.fr : Froggy French Server Website.
Reply With Quote
  #5  
Old 04-15-2006, 10:33 AM
daemonreaver
Fire Beetle
 
Join Date: Apr 2006
Posts: 21
Default

whoah...

Wouldn't you know, OLD_PASSWORD() wasn't in the docs for 4.1!

Thanks a ton.. I'll reset the PW for the game admin SQL hehe.

-editio-

FYI: Worked perfectly. Funny how it's the simple things (that are undocumented) that are at fault.

Last edited by daemonreaver; 04-15-2006 at 06:39 PM..
Reply With Quote
  #6  
Old 09-06-2007, 08:51 AM
Halamafx
Fire Beetle
 
Join Date: Jul 2007
Posts: 13
Default

can someone explain this in dumbed down terms for me plz? im having this problem and would really like to fix it
Reply With Quote
  #7  
Old 09-07-2007, 05:53 AM
Bakersman
Sarnak
 
Join Date: Aug 2007
Posts: 34
Default

well this is the wiki setup, and it has the command lines you need to put into the setup of your mysql database, if this helps any


MySQL Setup

http://www.eqemulator.net/wiki/wikka...kka=MySQLSetup



EQEmulator Database Schema

http://www.eqemulator.net/wiki/wikka...DatabaseSchema
Reply With Quote
  #8  
Old 09-07-2007, 11:32 AM
techguy84's Avatar
techguy84
Discordant
 
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
Default

Quote:
04-15-2006, 06:33 PM
Holy necro threads Batman!!!

But yea, as Bakersman said, you need to run a sql query to make MySQL 5 work with authencation from MySQL 4 apps, which of course is the emulator.

So you understand fully, open up your MySQL Command Line Interface, and type in the following,

Code:
set password for 'root'@'localhost' = OLD_PASSWORD('newpwd');
Substitute newpwd with the password you used when running the MySQL Server Instance Config Wizard.
Reply With Quote
  #9  
Old 09-08-2007, 01:22 AM
Halamafx
Fire Beetle
 
Join Date: Jul 2007
Posts: 13
Default

ya i know old thread lol.. anyhow.. shows im using the search feature ^_^ now its saying my pw incorrect lol.. damn :(
Reply With Quote
  #10  
Old 09-08-2007, 01:31 AM
Halamafx
Fire Beetle
 
Join Date: Jul 2007
Posts: 13
Default

ok heres whats going on.. when i do that old pw line on mysql.. it tells me Access denied for user 'eq'@'localhost' (PW wrong).. I try to figure out what it is manually.. and no idea.. keeps saying PW wrong.. when i go to Mysql admin to change the PW.. it says alrighty then! But.. Authentication protocol not supported.. back to square 1.. any clue?
Reply With Quote
  #11  
Old 09-08-2007, 02:20 AM
Halamafx
Fire Beetle
 
Join Date: Jul 2007
Posts: 13
Default

Quote:
les2212


--------------------------------------------------------------------------------

okay figured out problem. there is 2 eqemu_config files
1. eqemu_config --- wich is a xml document
2. eqemu_config.xml ---wich is a full file it says
i was only rewriting the full file before. rewrote the other file and server has apperantly started
fixed the problem!! thx guys ^_^
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 06:00 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