[gridmud-developer] connection refused on server.bat -- basic help needed
Status: Pre-Alpha
Brought to you by:
monkeyx
From: <ide...@f-...> - 2006-03-04 14:05:14
|
Hey guys, If I was a little more savvy on this kind of stuff I'm sure this wouldn't be a problem. I downloaded mySQL 5.0, created a gridmud DB and a gridmud user. I'm a w2k user with jre 1.4.2 btw. However, this is what I got when I ran server.bat: [blockquote] 3896 FATAL [main] gridmud.Main - Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.ConnectException: Connection refused: connect STACKTRACE: java.net.SocketException: java.net.ConnectException: Connection refused: connect at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2555) at com.mysql.jdbc.Connection.<init>(Connection.java:1485) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at net.sourceforge.gridmud.core.db.ObjectQueryFactory.makeObject(ObjectQueryFactory.java:25) at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771) at net.sourceforge.gridmud.core.db.ObjectStore.borrowQuery(ObjectStore.java:573) at net.sourceforge.gridmud.core.db.ObjectStore.getPlayers(ObjectStore.java:800) at net.sourceforge.gridmud.core.net.LoginProcessor.<init>(LoginProcessor.java:75) at net.sourceforge.gridmud.Main.<init>(Main.java:85) at net.sourceforge.gridmud.Main.main(Main.java:67) ** END NESTED EXCEPTION ** Last packet sent to the server was 30 ms ago. com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.ConnectException: Connection refused: connect STACKTRACE: java.net.SocketException: java.net.ConnectException: Connection refused: connect at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2555) at com.mysql.jdbc.Connection.<init>(Connection.java:1485) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at net.sourceforge.gridmud.core.db.ObjectQueryFactory.makeObject(ObjectQueryFactory.java:25) at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771) at net.sourceforge.gridmud.core.db.ObjectStore.borrowQuery(ObjectStore.java:573) at net.sourceforge.gridmud.core.db.ObjectStore.getPlayers(ObjectStore.java:800) at net.sourceforge.gridmud.core.net.LoginProcessor.<init>(LoginProcessor.java:75) at net.sourceforge.gridmud.Main.<init>(Main.java:85) at net.sourceforge.gridmud.Main.main(Main.java:67) ** END NESTED EXCEPTION ** Last packet sent to the server was 30 ms ago. at com.mysql.jdbc.Connection.createNewIO(Connection.java:2621) at com.mysql.jdbc.Connection.<init>(Connection.java:1485) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at net.sourceforge.gridmud.core.db.ObjectQueryFactory.makeObject(ObjectQueryFactory.java:25) at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771) at net.sourceforge.gridmud.core.db.ObjectStore.borrowQuery(ObjectStore.java:573) at net.sourceforge.gridmud.core.db.ObjectStore.getPlayers(ObjectStore.java:800) at net.sourceforge.gridmud.core.net.LoginProcessor.<init>(LoginProcessor.java:75) at net.sourceforge.gridmud.Main.<init>(Main.java:85) at net.sourceforge.gridmud.Main.main(Main.java:67) [/blockquote] My gridmud dir is in c:\ and mySQL is in c:\program files\mysql\mysql50. The mysql data is in c:\mysql50. My gridmud user DB password isn't 'gridmud' (I neglected to check this in grid.properties before I created the user). In any case do I need to change something to point to the gridmud DB? The gridmud DB was running when I ran server.bat, and I tried changing the DB password in grid.properties to the gridmud DB user password, to no effect. thanks, -- ide...@f-... -- http://www.fastmail.fm - Access your email from home and the web |