View Single Post
  #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