java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown database 'connect_db_1')

  1. 0

    MemSQL cannot find database

    Stack Overflow | 3 months ago | Rasputin Jones
    java.sql.SQLException: Cannot create PoolableConnectionFactory (Unknown database 'connect_db_1')
  2. 0

    日志输出的类名不对

    GitHub | 4 years ago | fivesmallq
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'novasecd'
  3. 0

    Mysql Error???

    GitHub | 2 years ago | AlexZZ95MC
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'pex'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PermissionEx will not start with MySQL

    GitHub | 3 years ago | OctopusPlaya
    java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user 'clientDB_2077'@'%' to database 'clientdb_2077'
  6. 0

    User netbout-test already has more than 'max_user_connections' active connections

    GitHub | 4 years ago | yegor256
    com.netbout.inf.Mux$TaskShell: run(): java.lang.IllegalStateException: Failed to call "public java.util.List<java.lang.Long> com.netbout.db.BoutFarm.getBoutMessages(java.lang.Long) throws java.sql.SQLException" with ["class java.lang.Long"]

  1. linxiaolong 2 times, last 4 weeks ago
  2. DoktorDoener666 9 times, last 1 month ago
  3. tvrmsmith 4 times, last 3 months ago
  4. fima 1 times, last 3 months ago
  5. tvrmsmith 1 times, last 4 months ago
27 more registered users
66 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException

    Unknown database 'connect_db_1'

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.8.0_92]
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[na:1.8.0_92]
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.8.0_92]
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)[na:1.8.0_92]
    4 frames
  3. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:377)[mysql-connector-java-5.1.34.jar:5.1.34]
    2. com.mysql.jdbc.Util.getInstance(Util.java:360)[mysql-connector-java-5.1.34.jar:5.1.34]
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:978)[mysql-connector-java-5.1.34.jar:5.1.34]
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887)[mysql-connector-java-5.1.34.jar:5.1.34]
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823)[mysql-connector-java-5.1.34.jar:5.1.34]
    6. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:870)[mysql-connector-java-5.1.34.jar:5.1.34]
    7. com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1659)[mysql-connector-java-5.1.34.jar:5.1.34]
    8. com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1206)[mysql-connector-java-5.1.34.jar:5.1.34]
    9. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2234)[mysql-connector-java-5.1.34.jar:5.1.34]
    10. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2265)[mysql-connector-java-5.1.34.jar:5.1.34]
    11. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2064)[mysql-connector-java-5.1.34.jar:5.1.34]
    12. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:790)[mysql-connector-java-5.1.34.jar:5.1.34]
    13. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)[mysql-connector-java-5.1.34.jar:5.1.34]
    13 frames
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.8.0_92]
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[na:1.8.0_92]
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.8.0_92]
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)[na:1.8.0_92]
    4 frames
  5. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:377)[mysql-connector-java-5.1.34.jar:5.1.34]
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:395)[mysql-connector-java-5.1.34.jar:5.1.34]
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)[mysql-connector-java-5.1.34.jar:5.1.34]
    3 frames
  6. Apache Commons DBCP
    BasicDataSource.getConnection
    1. org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:39)[commons-dbcp2-2.1.1.jar:2.1.1]
    2. org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:256)[commons-dbcp2-2.1.1.jar:2.1.1]
    3. org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304)[commons-dbcp2-2.1.1.jar:2.1.1]
    4. org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2290)[commons-dbcp2-2.1.1.jar:2.1.1]
    5. org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2039)[commons-dbcp2-2.1.1.jar:2.1.1]
    6. org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)[commons-dbcp2-2.1.1.jar:2.1.1]
    6 frames
  7. com.memsql.spark
    MemSQLRDD.compute
    1. com.memsql.spark.connector.MemSQLConnectionPool$.connect(MemSQLConnectionPool.scala:34)[memsql-connector_2.10-1.3.3.jar:1.3.3]
    2. com.memsql.spark.connector.rdd.MemSQLRDD$$anon$1.<init>(MemSQLRDD.scala:241)[memsql-connector_2.10-1.3.3.jar:1.3.3]
    3. com.memsql.spark.connector.rdd.MemSQLRDD.compute(MemSQLRDD.scala:231)[memsql-connector_2.10-1.3.3.jar:1.3.3]
    3 frames
  8. Spark
    Executor$TaskRunner.run
    1. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:300)[spark-core_2.10-1.5.2.jar:1.5.2]
    2. org.apache.spark.rdd.RDD.iterator(RDD.scala:264)[spark-core_2.10-1.5.2.jar:1.5.2]
    3. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)[spark-core_2.10-1.5.2.jar:1.5.2]
    4. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:300)[spark-core_2.10-1.5.2.jar:1.5.2]
    5. org.apache.spark.rdd.RDD.iterator(RDD.scala:264)[spark-core_2.10-1.5.2.jar:1.5.2]
    6. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)[spark-core_2.10-1.5.2.jar:1.5.2]
    7. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:300)[spark-core_2.10-1.5.2.jar:1.5.2]
    8. org.apache.spark.rdd.RDD.iterator(RDD.scala:264)[spark-core_2.10-1.5.2.jar:1.5.2]
    9. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)[spark-core_2.10-1.5.2.jar:1.5.2]
    10. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:300)[spark-core_2.10-1.5.2.jar:1.5.2]
    11. org.apache.spark.rdd.RDD.iterator(RDD.scala:264)[spark-core_2.10-1.5.2.jar:1.5.2]
    12. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)[spark-core_2.10-1.5.2.jar:1.5.2]
    13. org.apache.spark.scheduler.Task.run(Task.scala:88)[spark-core_2.10-1.5.2.jar:1.5.2]
    14. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)[spark-core_2.10-1.5.2.jar:1.5.2]
    14 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_92]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_92]
    3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_92]
    3 frames