==================================================================-[ Database ] MLog clients using java 1.4+ standard logging. Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10] An attempt to create an automatic test table failed. Create SQL: CREATE TABLE `c onnection_test_table` ( a CHAR(1) ) java.sql.SQLException: No database selected at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja va:2119) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java :2415) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java :2333) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java :2318) at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewP roxyPreparedStatement.java:105) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu tomaticTestTable(C3P0PooledConnectionPoolManager.java:813) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled ConnectionPool(C3P0PooledConnectionPoolManager.java:696) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0 PooledConnectionPoolManager.java:257) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0 PooledConnectionPoolManager.java:271) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getNumThreadsAw aitingCheckoutDefaultUser(AbstractPoolBackedDataSource.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.mchange.v2.beans.BeansUtils.extractAccessiblePropertiesToMap(Bean sUtils.java:359) at com.mchange.v2.beans.BeansUtils.appendPropNamesAndValues(BeansUtils.j ava:324) at com.mchange.v2.c3p0.ComboPooledDataSource.toString(ComboPooledDataSou rce.java:539) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getPoolManager( AbstractPoolBackedDataSource.java:462) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A bstractPoolBackedDataSource.java:128) at com.l2jfrozen.util.database.L2DatabaseFactory_c3p0.<init>(L2DatabaseF actory_c3p0.java:88) at com.l2jfrozen.util.database.L2DatabaseFactory.getInstance(L2DatabaseF actory.java:51) at com.l2jfrozen.loginserver.L2LoginServer.<init>(L2LoginServer.java:125 ) at com.l2jfrozen.loginserver.L2LoginServer.main(L2LoginServer.java:56)
Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ java.beans .IntrospectionException: java.lang.reflect.InvocationTargetException [numThreads AwaitingCheckoutDefaultUser] ] An attempt to create an automatic test table failed. Create SQL: CREATE TABLE `c onnection_test_table` ( a CHAR(1) ) java.sql.SQLException: No database selected at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja va:2119) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java :2415) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java :2333) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java :2318) at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewP roxyPreparedStatement.java:105) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu tomaticTestTable(C3P0PooledConnectionPoolManager.java:813) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled ConnectionPool(C3P0PooledConnectionPoolManager.java:696) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0 PooledConnectionPoolManager.java:257) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0 PooledConnectionPoolManager.java:271) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A bstractPoolBackedDataSource.java:128) at com.l2jfrozen.util.database.L2DatabaseFactory_c3p0.<init>(L2DatabaseF actory_c3p0.java:88) at com.l2jfrozen.util.database.L2DatabaseFactory.getInstance(L2DatabaseF actory.java:51) at com.l2jfrozen.loginserver.L2LoginServer.<init>(L2LoginServer.java:125 ) at com.l2jfrozen.loginserver.L2LoginServer.main(L2LoginServer.java:56)
FATAL: Failed initializing database. Reason: No database selected java.sql.SQLException: No database selected at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja va:2119) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java :2415) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java :2333) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java :2318) at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewP roxyPreparedStatement.java:105) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu tomaticTestTable(C3P0PooledConnectionPoolManager.java:813) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled ConnectionPool(C3P0PooledConnectionPoolManager.java:696) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0 PooledConnectionPoolManager.java:257) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0 PooledConnectionPoolManager.java:271) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A bstractPoolBackedDataSource.java:128) at com.l2jfrozen.util.database.L2DatabaseFactory_c3p0.<init>(L2DatabaseF actory_c3p0.java:88) at com.l2jfrozen.util.database.L2DatabaseFactory.getInstance(L2DatabaseF actory.java:51) at com.l2jfrozen.loginserver.L2LoginServer.<init>(L2LoginServer.java:125 ) at com.l2jfrozen.loginserver.L2LoginServer.main(L2LoginServer.java:56)
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
🚨 Only 2 Days Left Until Our Beta Launch! 🚨
The wait is almost over! In just two days, we'll be opening up our beta, and there's so much for you to explore and experience. We can't wait for you to dive in, test things out, and share your thoughts with us.
Your feedback will help shape the future, and we're excited to have you on this journey with us! 🌟
ADD YOUR SERVERS AND PROMOTE YOUR SERVER FOR FREE.
For owners, our team offers quality advertising services!
Website: https://top.4teambr.com
Premium account free for 7 days
VoteSystem/Callback/API
Question
georgess
# ##### ##### ##### ##### ##### ##### ## #
# # # # # # # # # # # #
# ### #### ### # # # # # ### # # #
# # # ### # # # # # # #
##### ##### # # ## ##### ##### ##### # ##
==================================================================-[ Database ]
MLog clients using java 1.4+ standard logging.
Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
An attempt to create an automatic test table failed. Create SQL: CREATE TABLE `c
onnection_test_table` ( a CHAR(1) )
java.sql.SQLException: No database selected
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2119)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2415)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2333)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2318)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewP
roxyPreparedStatement.java:105)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu
tomaticTestTable(C3P0PooledConnectionPoolManager.java:813)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled
ConnectionPool(C3P0PooledConnectionPoolManager.java:696)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:257)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:271)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getNumThreadsAw
aitingCheckoutDefaultUser(AbstractPoolBackedDataSource.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.mchange.v2.beans.BeansUtils.extractAccessiblePropertiesToMap(Bean
sUtils.java:359)
at com.mchange.v2.beans.BeansUtils.appendPropNamesAndValues(BeansUtils.j
ava:324)
at com.mchange.v2.c3p0.ComboPooledDataSource.toString(ComboPooledDataSou
rce.java:539)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getPoolManager(
AbstractPoolBackedDataSource.java:462)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A
bstractPoolBackedDataSource.java:128)
at com.l2jfrozen.util.database.L2DatabaseFactory_c3p0.<init>(L2DatabaseF
actory_c3p0.java:88)
at com.l2jfrozen.util.database.L2DatabaseFactory.getInstance(L2DatabaseF
actory.java:51)
at com.l2jfrozen.loginserver.L2LoginServer.<init>(L2LoginServer.java:125
)
at com.l2jfrozen.loginserver.L2LoginServer.main(L2LoginServer.java:56)
Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ java.beans
.IntrospectionException: java.lang.reflect.InvocationTargetException [numThreads
AwaitingCheckoutDefaultUser] ]
An attempt to create an automatic test table failed. Create SQL: CREATE TABLE `c
onnection_test_table` ( a CHAR(1) )
java.sql.SQLException: No database selected
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2119)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2415)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2333)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2318)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewP
roxyPreparedStatement.java:105)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu
tomaticTestTable(C3P0PooledConnectionPoolManager.java:813)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled
ConnectionPool(C3P0PooledConnectionPoolManager.java:696)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:257)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:271)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A
bstractPoolBackedDataSource.java:128)
at com.l2jfrozen.util.database.L2DatabaseFactory_c3p0.<init>(L2DatabaseF
actory_c3p0.java:88)
at com.l2jfrozen.util.database.L2DatabaseFactory.getInstance(L2DatabaseF
actory.java:51)
at com.l2jfrozen.loginserver.L2LoginServer.<init>(L2LoginServer.java:125
)
at com.l2jfrozen.loginserver.L2LoginServer.main(L2LoginServer.java:56)
FATAL: Failed initializing database. Reason: No database selected
java.sql.SQLException: No database selected
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2119)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2415)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2333)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:2318)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewP
roxyPreparedStatement.java:105)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu
tomaticTestTable(C3P0PooledConnectionPoolManager.java:813)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled
ConnectionPool(C3P0PooledConnectionPoolManager.java:696)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:257)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:271)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A
bstractPoolBackedDataSource.java:128)
at com.l2jfrozen.util.database.L2DatabaseFactory_c3p0.<init>(L2DatabaseF
actory_c3p0.java:88)
at com.l2jfrozen.util.database.L2DatabaseFactory.getInstance(L2DatabaseF
actory.java:51)
at com.l2jfrozen.loginserver.L2LoginServer.<init>(L2LoginServer.java:125
)
at com.l2jfrozen.loginserver.L2LoginServer.main(L2LoginServer.java:56)
LoginServer terminated abnormaly
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.