EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Server starting probs. (https://www.eqemulator.org/forums/showthread.php?t=23009)

un3n 06-24-2007 04:49 AM

Server starting probs.
 
when i click my start.bat to try and start the server it comes up like
http://i67.photobucket.com/albums/h319/unen/s1.jpg

and when i press enter i comes up with a blank screen
http://i67.photobucket.com/albums/h319/unen/s2.jpg
I followd http://techguynky.com/Documents/Guide.pdf as closely as i could (was a little tired so might have misread or made a few errors )
does anyone know what im doing wrong?
--------------
here is my conf file
Code:

<?xml version="1.0">
<server>
        <world>
                <shortname>1337</shortname>
                <longname>1337</longname>

        <!-- only specify ithese two if you really think you need to. -->
                <address>24.206.122.81</address>
                <localaddress>127.0.0.1</localaddress>

        <!-- loging server info. -->
                <loginserver>
                        <host>eqemulator.net</host>
                        <port>5990</port>
                        <account></account>
                        <password></password>
                </loginserver>

                <!-- sets the shared key used by zone/launcher to connect to world -->
                <key>some long random string</key>

                <!-- enable and set the port for the http service. -->
                <http port="9080" enabled="true" mimefile="mime.types" />
        </world>
       
        <database>
                <host>localhost</host>
                <port>3306</port>
                <username>root</username>
                <password></password>
                <db>peq</db>
        </database>
</server>

and here are a few log msgs i see in my log folder

-eqemu_error_world_3144.log
Code:

---------------------------------------------
[06.24. - 11:16:06] Starting Log: logs/eqemu_error_world_3144.log
[06.24. - 11:16:06] Failed to connect to database: Error: #1045: Access denied for user 'root'@'localhost' (using password: YES)

-eqemu_debug_world_3084.log
Code:

---------------------------------------------
[06.24. - 11:41:08] Starting Log: logs/eqemu_debug_world_3084.log
[06.24. - 11:41:08] [WORLD__INIT] Loading server configuration..
[06.24. - 11:41:08] [WORLD__INIT] Log settings loaded from log.ini
[06.24. - 11:41:08] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
[06.24. - 11:41:08] [WORLD__INIT] Connecting to MySQL...
[06.24. - 11:41:08] [WORLD__INIT_ERR] Cannot continue without a database connection.


Thank you in advance :)

Darkonig 06-24-2007 11:30 AM

one quick look shows you setting login port to 5990. should be 5998.

techguy84 06-24-2007 06:37 PM

Well for one, you cant follow the guide as closely as possible. You need to follow it step by step and do exactly as it says.

Here is the step you missed,

Code:

SET PASSWORD for 'root'@'localhost' = OLD_PASSWORD('newpwd');
You will see this in the guide after the database setup. It is a MANDATORY step as it allows the emu to connect to the database using a password scheme similar to MySQL 4 which the emu is built upon.

If this does not work, double triple check your username and passwords in your mysql and in your eqemu_config.xml file.

un3n 06-25-2007 08:07 AM

Quote:

Originally Posted by techguy84 (Post 134233)
Well for one, you cant follow the guide as closely as possible. You need to follow it step by step and do exactly as it says.

Here is the step you missed,

Code:

SET PASSWORD for 'root'@'localhost' = OLD_PASSWORD('newpwd');
You will see this in the guide after the database setup. It is a MANDATORY step as it allows the emu to connect to the database using a password scheme similar to MySQL 4 which the emu is built upon.

If this does not work, double triple check your username and passwords in your mysql and in your eqemu_config.xml file.

i actuly did do that, but as i said i was tired and probably made mistakes, tyvm :D

edit: Just fixed that typo Darkonig, ty:)

techguy84 06-25-2007 09:23 AM

Changing the port at which world looks for the loginserver is not your current problem, although it was a problem. Your server wasnt connecting to MySQL to get the database information. Did you get this fixed?

un3n 06-25-2007 11:55 AM

no not yet, i tried to go into the cmd and put in "SET PASSWORD for 'root'@'localhost' = OLD_PASSWORD('newpwd');" JIC i did happen to do it rong or somthing and when i go to type in " MySQL -u root -p" i get "mysql is not a known command" (or somthing of that sort)

screen shot of the error
http://i67.photobucket.com/albums/h3...n/untitled.jpg

techguy84 06-25-2007 03:50 PM

Re run your server instance config and besure to select where it asky you to put MySQL in the Windows Path


All times are GMT -4. The time now is 11:00 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.