我连接本机的MS SQL 2000数据库,连的是数据库自带的master库。用户名和密码没有错。提示为:
2012-04-02 17:57:45
严重:Cannot create PoolableConnectionFactory (到主机 的 TCP/IP 连接失败。 java.net.ConnectException: Connection refused: connect)
at com.fr.third.org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
at com.fr.third.org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
at com.fr.third.org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
at com.fr.data.pool.MemoryConnection.create(Unknown Source)
at com.fr.data.impl.JDBCDatabaseConnection.createConnection(Unknown Source)
at com.fr.data.impl.JDBCDatabaseConnection.testConnection(Unknown Source)
at com.fr.base.dav.LocalEnv.testConnection(Unknown Source)
at com.fr.design.data.source.DatabaseConnectionPane$ConnectionThread.run(Unknown Source)
请高人解决,谢谢
|