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

Archive::General Support Archive area for General Support's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
  #1  
Old 04-10-2004, 07:04 AM
infernal
Sarnak
 
Join Date: Mar 2004
Posts: 45
Default How do i change MySql Username/Pass for my Server?

I have problems starting my own server.
I used Jezebell's Guide which was very easy to use. But i do have a problem, and when i run boot5zones.bat, it brings up the 6 windows with all the same error:.... :evil:


<prev txt here>.........
[Error] Loading npcs FAILED!
===============================
Runtime errors:

MySQL Error #1405 or $2001 means your mysql server rejected the username and password you presented it.
For more information on this error, visit http://www.eqemu.net/eqemuerror.php?id=1

Hit any key to exit



.... Well The website link does not work and i am not sure where i can change the username and pass for this...

Also, Which username pass do i use? A new one? the EQemu server username pass? and which one is causing the error?
: : : : : :
  #2  
Old 04-10-2004, 08:06 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

start/run/cmd

mysql -u root

grant all privileges on *.* to fred@localhost identified by 'fred' with grant option;

Edit your db.ini file and change the user and password fields to

user=fred
password=fred

or whaterever user and password you choose. Make sure there are no spaces at the end of any line, i.e. go to each line, press the 'END' key and press backspace if there is a space between the last character of the line and where your cursor is.

Make sure you type the grant command exactly as above, i.e. single quotes around the password (the second 'fred' in my example).
  #3  
Old 04-10-2004, 08:27 AM
cofruben
Old-EQEmu Developer
 
Join Date: Oct 2002
Location: Spain
Posts: 323
Default

you can edit your password/username in c:\windows\my.ini I guess.
  #4  
Old 04-10-2004, 08:35 AM
infernal
Sarnak
 
Join Date: Mar 2004
Posts: 45
Default

I got a new error now
any idea what i did wrong?

WorldServer connect: Connecting to the server failed: TCPConnection::Connect<>:Couldnt resolve hostname. Error: 11001
[Error] worldserver.Connect <> FAILED!
[Status] Entering Sleepmode
  #5  
Old 04-10-2004, 08:37 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

11001 is a 'host not found' winsock error. Post your loginserver.ini, and also your boot5zones.bat file.
  #6  
Old 04-10-2004, 08:44 AM
infernal
Sarnak
 
Join Date: Mar 2004
Posts: 45
Default

LoginServer.ini


[LoginServer]
loginserver=eqlogin1.eqemulator.net
loginserver2=eqlogin2.eqemulator.net
loginserver3=eqlogin3.eqemulator.net
loginport=5997
loginport=5997
loginport=5997
worldname=Yourservername
worldaddress=YourexternalIPAddress
locked=false

[WorldServer]
Defaultstatus=0
Unavailzone=

[LoginConfig]
ServerMode=Standalone
ServerPort=5999
UplinkAddress=
UplinkPort=
UplinkAccount=
UplinkPassword=

[ChatChannelServer]
ChatChannelServer=YourInternalIPAddress




boot5zones.bat


REM: ****Read this first!!!****

REM: This file requires your real IP in the place of "YourIP" when you are connecting
REM: To the EQEmu Loginserver.

REM: When you are using minilogin, Replace all IP Addresses to say 127.0.0.1

REM: If you still get errors try using localhost instead of 127.0.0.1

REM:--------------Start-----------------------
@echo off

if NOT exist spells_us.txt goto NOSPELL

start zone . YourExternalIP <4DigitNumber> YourInternalIP
start zone . YourExternalIP <4DigitNumber> YourInternalIP
start zone . YourExternalIP <4DigitNumber> YourInternalIP
start zone . YourExternalIP <4DigitNumber> YourInternalIP
start zone . YourExternalIP <4DigitNumber> YourInternalIP
exit
cls

:NOSPELL
echo You did not copy the spells_en.txt from your everquest directory to this one. Please do so or zones will crash on startup.
PAUSE

REM:---------------END------------------------
  #7  
Old 04-10-2004, 08:45 AM
infernal
Sarnak
 
Join Date: Mar 2004
Posts: 45
Default

not sure what i put inplace of YourIpAddress
so let me know
  #8  
Old 04-10-2004, 08:49 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

To get YourInternalIP address:

start/run/cmd

c:\windows\system32\ipconfig

your internal IP address is on the line beginning 'IP Address'

To get YourExternalIP address:

goto http://www.whatsmyip.org

Where you have <4 digit number> in your boot5zones.bat, replace with 7995 for the first 'start zone' command, 7996 for the second, 7997 for the next, and so on.
  #9  
Old 04-10-2004, 08:50 AM
infernal
Sarnak
 
Join Date: Mar 2004
Posts: 45
Default

where do i replace that at?
  #10  
Old 04-10-2004, 08:52 AM
infernal
Sarnak
 
Join Date: Mar 2004
Posts: 45
Default

ok done with the boot5zone
What do i replace in the loginserver.ini?
  #11  
Old 04-10-2004, 08:55 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Change these lines

worldname=Infernal Test Server
worldaddress=Whatever Your external IP Address is

ChatChannelServer=Your InternalIP Address
  #12  
Old 04-10-2004, 08:56 AM
infernal
Sarnak
 
Join Date: Mar 2004
Posts: 45
Default

whats the difference between internal and external ip address?

Where do i find the internal one and where the external...

i got the one from www.whatismyip.org

... whats the internal one then?
  #13  
Old 04-10-2004, 08:57 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Umm, from my post a few posts up in this thread:

Quote:
Originally Posted by Derision
To get YourInternalIP address:

start/run/cmd

c:\windows\system32\ipconfig

your internal IP address is on the line beginning 'IP Address'

To get YourExternalIP address:

goto http://www.whatsmyip.org

Where you have <4 digit number> in your boot5zones.bat, replace with 7995 for the first 'start zone' command, 7996 for the second, 7997 for the next, and so on.
  #14  
Old 04-10-2004, 09:00 AM
infernal
Sarnak
 
Join Date: Mar 2004
Posts: 45
Default

the 2 of them are the same....
True?
  #15  
Old 04-10-2004, 09:02 AM
infernal
Sarnak
 
Join Date: Mar 2004
Posts: 45
Default

gave me the exact same error.. heres my
LoginServer.ini

[LoginServer]
loginserver=eqlogin1.eqemulator.net
loginserver2=eqlogin2.eqemulator.net
loginserver3=eqlogin3.eqemulator.net
loginport=5997
loginport=5997
loginport=5997
worldname=Infernal Test [Dev]
worldaddress=68.104.241.117
locked=false

[WorldServer]
Defaultstatus=0
Unavailzone=

[LoginConfig]
ServerMode=Standalone
ServerPort=5999
UplinkAddress=
UplinkPort=
UplinkAccount=
UplinkPassword=

[ChatChannelServer]
ChatChannelServer=68.104.241.117

and my boot5zones.bat

REM: ****Read this first!!!****

REM: This file requires your real IP in the place of "YourIP" when you are connecting
REM: To the EQEmu Loginserver.

REM: When you are using minilogin, Replace all IP Addresses to say 127.0.0.1

REM: If you still get errors try using localhost instead of 127.0.0.1

REM:--------------Start-----------------------
@echo off

if NOT exist spells_us.txt goto NOSPELL

start zone . YourExternalIP 7995 YourInternalIP
start zone . YourExternalIP 7996 YourInternalIP
start zone . YourExternalIP 7997 YourInternalIP
start zone . YourExternalIP 7998 YourInternalIP
start zone . YourExternalIP 7999 YourInternalIP
exit
cls

:NOSPELL
echo You did not copy the spells_en.txt from your everquest directory to this one. Please do so or zones will crash on startup.
PAUSE

REM:---------------END------------------------
 


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 05:49 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