Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mdcallag
, 1 year ago
Could not create connection to database server.
via sphinxsearch.com by Unknown author, 2 years ago
via Stack Overflow by Dana S
, 11 months ago
Could not create connection to database server.
via Stack Overflow by Allah Rakha
, 5 months ago
Could not create connection to database server.
via GitHub by NicolaSpreafico
, 1 year ago
Could not create connection to database server.
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)	at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)	at com.mysql.jdbc.Util.getInstance(Util.java:387)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:917)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:896)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:885)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:860)	at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2332)	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2085)	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:795)	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:44)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)	at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:400)	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:327)	at java.sql.DriverManager.getConnection(DriverManager.java:582)	at java.sql.DriverManager.getConnection(DriverManager.java:185)	at com.facebook.LinkBench.LinkStoreMysql.openConnection(LinkStoreMysql.java:153)	at com.facebook.LinkBench.LinkStoreMysql.initialize(LinkStoreMysql.java:122)	at com.facebook.LinkBench.NodeLoader.run(NodeLoader.java:114)	at com.facebook.LinkBench.LinkBenchDriver$1.run(LinkBenchDriver.java:439)	at java.lang.Thread.run(Thread.java:662)