Here's all my files tested and working -
Note: blackwater.dynip.com is the dynamic dns I used for resolving my ip address.
Also, I have a dedicated MySql server on another machine in my LAN, so I specify the IP where needed.
eqhost.txt on client;
Code:
LoginServer]
Host=blackwater.dynip.com:5999
Code:
<?xml version="1.0">
<server>
<world>
<shortname>minilogin</shortname>
<longname>BlackwaterMiniLogin</longname>
<!-- Only specify these two if you really think you need to. -->
<address>blackwater.dynip.com</address>
<localaddress>127.0.0.1</localaddress>
<!-- Loginserver information. -->
<loginserver>
<host>blackwater.dynip.com</host>
<port>5999</port>
<account></account>
<password></password>
</loginserver>
<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>************/key>
<!-- Enable and set the port for the HTTP service. -->
<http port="9080" enabled="true" mimefile="mime.types" />
</world>
<!-- Database configuration, replaces db.ini. -->
<database>
<host>192.168.2.108</host>
<port>3306</port>
<username>***</username>
<password>***</password>
<db>ax_peq</db>
</database>
</server>
Login server.ini;
Code:
[LoginServer]
loginserver=blackwater.dynip.com
#loginserver2=newlogin1.eqemulator.net
loginport=5999
#loginport2=5999
worldname=BlackwaterMiniLogin
worldaddress=blackwater.dynip.com
locked=false
#account=
#password=
[WorldServer]
Defaultstatus=
Unavailzone=
[ChatChannelServer]
worldshortname=
chataddress=
chatport=
[LoginConfig]
ServerMode=MiniLogin
ServerPort=5999
Stuff I changed on my peq_updater.php;
Code:
*/
$DB_ADDY = "192.168.2.108"; //address:port for the MySQL server
$DB_USER = "****"; //username to login to MySQL with
$DB_PASS = "****"; //password to login to MySQL with
$DB_DB = "ax_peq"; //database name to use "peq" for default installation
$server_name = "Blackwater"; //set the name of your server here
$admin_level = 50; //default level of admin to give to people who sign up
//This WILL NOT modify admin of people logging in to the server.
My Linux server uses DMZ with its own Firewall, I have these ports for EqEmu;
Code:
3306/udp 5999/udp 9000/udp 7000:7010/udp 3306/tcp 5999/tcp 7000:7010/tcp
I was just on with a friend , and it's all working fine -
It looks like your MySql Server is not permiting your PhP setup to access it, maybe your webserver is somewhere else and you need to add the host in the Mysql user list?