Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #24  
Old 06-14-2004, 05:10 AM
jasdar2
Fire Beetle
 
Join Date: Mar 2004
Posts: 6
Default

QUOTE : As explained in the very first post on this thread: the 2006 error is a MySQL permissions related one.

Basically, it's saying that EQEMu can't connect to your MySQL database because of a bad username/password.

The simplest (and WORST) way to fix this is to give EQEMu the "root" username and password. (Note: DO NOT DO THIS!!!! IT'S A BAD IDEA!!!)

Barring that, the best thing to do is make sure you've run the series of statements in my last post. Be sure to replace the words in yellow with your information.

Quote:
USE mysql;
GRANT ALL on eq.* TO 'user'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;

Once you have run these statements, you can easily check if they worked by attempting to log in to MySQL as your EQEUm user. This is by running the following statements from the command prompt.

Quote:
C:\> cd \mysql\bin
C:\mysql\bin\> mysql -u user -p eq


This should make MySQL prompt you for your password. Be sure to use the same one you used when running the GRANT statement.

If you can get logged in, then everything should be fine! If not, then I'd try using a MySQL administration program like winmysqladmin (shipped with MySQL, it can be found in the C:\mysql\bin folder), or MySQL-Front.




Ok thakks for the info I would have replied sooner but been busy lately. This is what I am not understanding at the dos prompt i can access mysql by typing the "test" thing mysql -u (username) -p and it prompts me for a password and I enter it and it works fine comes up with the mysql and all the other stuff. So my access should be ok it excepts it which is great I go back run world.exe and then comes up again with the 2006 error now how can it allow me to access it through a prompt but when I run world.exe it does the mysql gone away stuff.. that is what I am not understanding and haveing problems with. That is the fix I am looking for.

Sorry for all the trouble and confusion..

Jassy D.
Reply With Quote
 


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:27 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3