Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Unable to connect to database

$
0
0

So I'm attempting to get openfire running using a non-intergrated database. When attempting to connect to the database, I get this error:

A connection to the database could not be made. View the error message by opening the "/logs/error.log" log file, then go back to fix the problem.

 

When I check the log file, I get this:

 

java.net.UnknownHostException

MESSAGE: [localhost]

 

 

STACKTRACE:

 

 

java.net.UnknownHostException: [localhost]

          at java.net.InetAddress.getAllByName(Unknown Source)

          at java.net.InetAddress.getAllByName(Unknown Source)

          at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:246)

          at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271)

          at com.mysql.jdbc.Connection.createNewIO(Connection.java:2771)

          at com.mysql.jdbc.Connection.<init>(Connection.java:1555)

          at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)

          at java.sql.DriverManager.getConnection(Unknown Source)

          at java.sql.DriverManager.getConnection(Unknown Source)

          at org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConn ectionBuilder.java:39)

          at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)

          at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:102)

          at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:44)

 

I'm unsure of what's causing this issue, I've been able to install a few other resources without a problem, so I wasn't expecting an issue with the database.


Viewing all articles
Browse latest Browse all 10742

Trending Articles