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-20-2016, 01:16 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default Noob Question, Loginserver

So, I feel really stupid but I cannot find my problem with this. To start, I cleaned my server and made it a stand alone server with nothing installed but whats needed to host my LS account connection and server.

I built a small devbox and setting up login server so I can connect to it but I am having some damn issue.

My error on starting loginserver.exe is,
Code:
Failed to connect to MySQL database. Error: Access denied for user 'root'@'localhost' (using password: YES)
I cannot find my problem.

I followed the setup. http://wiki.eqemulator.org/p?Windows...Guide&frm=Main

step 1: ticked login
step 2: recompiled
step 3: copied executable and loginserver.pdb
step 4: sourced load_login
step 5: created login account with name and password to my choice
step 6: <loginserver>
<host>127.0.0.1</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver>
step 7: copied and made the batch file.
step 8: downloaded the dependencie and put it in my server folder.
step 9: setup login.ini
[database]
host = 127.0.0.1
port = 3306
db = the4
user = root
password = my password
subsystem = MySQL

Copied login.ini, login opcodes.conf, login_opcodes_sod.conf.

My password is correct in the login.ini. I have checked and checked. I even redid my navcat connection and in command prompt did a MySQL -uroot -p_______ and connected just fine.

I open command prompt and goto my server directory and manually type loginserver.exe and I get the error above, I let it load through start.bat and I get the error above and it auto closes.

I have tried using 127.0.0.1 and localhost, same problem.

I am using windows 10.
I have 3306 exception allowed in firewall
I can connect with EoC
I can connect with MySQL prompt
I can connect with Navcat.
Is there any crazy password problems with special characters like )(*&^%$#@! through the login.ini?
Is there something not mentioned on the setup page that has to do with any of the 4 database tables that get loaded in login.sql?

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<address></address>
<localaddress>127.0.0.1</localaddress>

local address need to be 127? or actual IP address 192.168.1.

Every variation has me stumped and I am 100% sober! lol
__________________
Reply With Quote
  #2  
Old 04-20-2016, 01:57 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Okay, just so I cover all bases. The database and loginserver are on the same physical machine? Also, I seem to remember some issues with a few special characters at some point. That may not still be a problem but years ago I remember a few special characters could not be in the login.ini file under password.
Reply With Quote
  #3  
Old 04-20-2016, 02:09 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

yes, database and login are on same machine.
I have 2 machines.
Dedicated server has database and no login, can connect publicly.
DevBox has database and login, Server starts up but loginserver.exe crashes.
__________________
Reply With Quote
  #4  
Old 04-20-2016, 02:33 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Quote:
Originally Posted by Figback65 View Post
yes, database and login are on same machine.
I have 2 machines.
Dedicated server has database and no login, can connect publicly.
DevBox has database and login, Server starts up but loginserver.exe crashes.
Try changing your mysql password to something simple, for testing purposes only.
Reply With Quote
  #5  
Old 04-20-2016, 03:06 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

Ok let me google up how to change root password.
__________________
Reply With Quote
  #6  
Old 04-20-2016, 03:28 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

Yup, sure enough. There is some special character in !@#$% area that cannot be used in the login.ini. Changed my root password and loginserver.exe started up.

Thanks Provocating
__________________
Reply With Quote
  #7  
Old 04-20-2016, 03:36 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

Now to figure the rest of setup so I can connect across lan and not exactly load eq client on the devbox.
__________________
Reply With Quote
  #8  
Old 04-20-2016, 03:57 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Quote:
Originally Posted by Figback65 View Post
Yup, sure enough. There is some special character in !@#$% area that cannot be used in the login.ini. Changed my root password and loginserver.exe started up.

Thanks Provocating
Your welcome, figured that was it. I ran into the same thing 4 years ago.
Reply With Quote
  #9  
Old 04-20-2016, 05:20 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I've posted many times on how to configure for LAN/localhost setups.

Doing an advanced search using my name should bring up a few hits
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #10  
Old 04-22-2016, 10:11 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

Quote:
Originally Posted by Uleat View Post
I've posted many times on how to configure for LAN/localhost setups.

Doing an advanced search using my name should bring up a few hits
Maybe you should add that line to the setup guide lol
__________________
Reply With Quote
  #11  
Old 04-23-2016, 07:24 PM
ionhsmith
Discordant
 
Join Date: Jun 2014
Posts: 284
Default

with this setup can you use it to make your own public log in that doesn't show all of the other servers?
Reply With Quote
  #12  
Old 04-23-2016, 08:02 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

You can, you just have to hand out your public ip or DNS to the people you want connecting to you directly. They will put that info in the eqhost.txt in their client. Make sure the correct ports are forwarded and exceptions in the firewall as well.
__________________
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 08: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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3