View Single Post
  #7  
Old 03-09-2006, 03:05 PM
solid11's Avatar
solid11
Discordant
 
Join Date: Dec 2004
Posts: 266
Default

Thanks for those links ylosh. I transferred my .ini settings to the xml file but it says it needs to connect to a database/mysql, but my settings are right, or the same anyway as my old .ini files. Here they are, and trying to use minilogon also btw.

<?xml version="1.0">
<server>
<world>
<shortname>setme</shortname>
<longname>I Forgot To Edit My Config</longname>

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

<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>127.0.0.1</host>
<port>5999</port>
<account></account>
<password></password>
</loginserver>

<!-- Server status. Default is unlocked -->
<!--<locked/>-->
<!-- <unlocked/> -->

<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="localhost" port="9000" telnet="disable"/>

<!-- 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. Defaults are shown -->
<http port="9080" enabled="false" mimefile="mime.types" />
</world>

<!-- Chatserver (channels) information. Defaults shown -->
<chatserver>
<host>channels.eqemulator.net</host>
<port>7778</port>
</chatserver>

<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>channels.eqemulator.net</host>
<port>7779</port>
</mailserver>

<zones>
<defaultstatus>20</defaultstatus>

<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7100"/>
</zones>

<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>127.0.0.1</host>
<port>5999</port>
<username>myname</username>
<password>mypw</password>
<db>luclin</db>
</database>

<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000"> -->
</launcher>

<!-- File locations. Defaults shown -->
<files>
<!-- <spells>spells_us.txt</spells> -->
<!-- <opcodes>opcodes.conf</opcodes> -->
<!-- <logsettings>log.ini</logsettings> -->
<!-- <eqtime>eqtime.cfg</eqtime> -->
</files>
<!-- Directory locations. Defaults shown -->
<directories>
<!-- <maps>Maps</maps> -->
<!-- <quests>Quests</quests> -->
<!-- <plugins>plugins</plugins> -->
</directories>
</server>

Here is the error log...

---------------------------------------------
[03.09. - 22:00:55] Starting Log: logs/eqemu_error_world_4024.log
[03.09. - 22:00:55] Failed to connect to database: Error: #2003: Can't connect to MySQL server on '127.0.0.1' (10061)

---------------------------------------------
[03.09. - 22:00:54] Starting Log: logs/eqemu_debug_world_4024.log
[03.09. - 22:00:54] [WORLD__INIT] Loading server configuration..
[03.09. - 22:00:54] [WORLD__INIT] Log settings loaded from log.ini
[03.09. - 22:00:54] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.6.5
[03.09. - 22:00:54] [WORLD__INIT] Connecting to MySQL...
[03.09. - 22:00:55] [WORLD__INIT_ERR] Cannot continue without a database connection.

Thanks for the help guys.
__________________
Reply With Quote