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 jetbrains.com by Unknown author, 1 year ago
Could not create connection to database server. Attempted reconnect 3 times. Giving up.
via YouTrack by Unknown author, 2 years ago
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=502' at line 1
via YouTrack by Unknown author, 1 year ago
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '350.llx_user2smtp' at line 1
via YouTrack by Unknown author, 2 years ago
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=502' at line 1
via YouTrack by Unknown author, 2 years ago
via Stack Overflow by dat_dude
, 2 years ago
Communications link failure</p> <pre><code>The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
java.sql.SQLException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)	at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)	at com.mysql.jdbc.Util.getInstance(Util.java:360)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:935)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:924)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:870)	at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2144)	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2069)	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:790)	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:44)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)	at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:395)	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)	at com.intellij.database.remote.jdbc.impl.RemoteDriverImpl.connect(RemoteDriverImpl.java:27)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)	at sun.rmi.transport.Transport$1.run(Transport.java:200)	at sun.rmi.transport.Transport$1.run(Transport.java:197)	at java.security.AccessController.doPrivileged(Native Method)	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683)	at java.security.AccessController.doPrivileged(Native Method)	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)	at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:217)	at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:171)	at com.sun.proxy.$Proxy152.connect(Unknown Source)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at com.intellij.execution.rmi.RemoteUtil.invokeRemote(RemoteUtil.java:124)	at com.intellij.execution.rmi.RemoteUtil.access$100(RemoteUtil.java:36)	at com.intellij.execution.rmi.RemoteUtil$RemoteInvocationHandler.invoke(RemoteUtil.java:229)	at com.sun.proxy.$Proxy153.connect(Unknown Source)	at com.intellij.database.dataSource.LocalDataSource.getConnection(LocalDataSource.java:296)	at com.intellij.database.dataSource.LocalDataSource.getConnection(LocalDataSource.java:264)	at com.intellij.database.dataSource.AbstractDataSource.performJdbcOperation(AbstractDataSource.java:111)	at com.intellij.database.dataSource.AbstractDataSource.refreshMetaData(AbstractDataSource.java:34)	at com.intellij.database.dataSource.DataSourceUiUtil$4.run(DataSourceUiUtil.java:218)	at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)	at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:357)	at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)	at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)	at com.intellij.openapi.application.impl.ApplicationImpl$14$1.run(ApplicationImpl.java:634)	at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:366)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)	at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)