用mysql数据库安装konakart

时间:2014-03-20 19:11:55

标签: mysql jdbc konakart

这是我第一次尝试在我的系统中安装konakart。我有jre 6和konakart 7.2.0.0和mysql 5.1.32。 当我开始安装konakart每个东西都工作正常然后我给了我已经创建的数据库名称然后继续,与mysql数据库的连接是好的但最后我得到错误,我在这里复制,我没有得到什么是错的,因为我的两个朋友已经安装好了,但工作正常,但这给我带来了麻烦。

nfig'不存在


** * KONAKART许可协议  * *除非符合许可,否则您不得使用此软件。  * *请在KonaKart网站上查看有关权利和义务的许可证  * *和管理本软件使用的限制。  * *对于KonaKart社区版的用户,请参阅:  * * http://www.konakart.com/documents/COMMUNITY-LICENSE.txt  * *对于KonaKart企业扩展的用户,请参阅:  * * http://www.konakart.com/documents/ENTERPRISE-LICENSE.txt  *


** KonaKart V7.2.0.0-C0( - )建于2014年3月6日上午8:57 GMT [DB:null]

org.apache.torque.TorqueException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxEr
rorException: Table 'konakartdb.configuration' doesn't exist
        at org.apache.torque.util.ExceptionMapperImpl.toTorqueException(Unknown
Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.checkIfReturnable(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)20-M
ar 23:55:03 ERROR (?:run:?) com.konakart.al.KKAppException: com.konakart.app.KKE
xception: java.lang.reflect.InvocationTargetException
        at com.konakart.al.KKAppEng.init(Unknown Source)
        at com.konakart.al.KKAppEng.<init>(Unknown Source)
        at com.konakart.al.ConfigCacheUpdater.getClientEng(Unknown Source)
        at com.konakart.al.ConfigCacheUpdater.setCheckInterval(Unknown Source)
        at com.konakart.al.ConfigCacheUpdater.run(Unknown Source)
Caused by: com.konakart.app.KKException: java.lang.reflect.InvocationTargetExcep
tion
        at com.konakart.app.KKEng.manageThrowable(Unknown Source)
        at com.konakart.app.KKEng.getDefaultLanguage(Unknown Source)
        at com.konakart.app.KKEng.getDefaultLanguage(Unknown Source)
        ... 5 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.konakart.bl.MgrFactory.instantiateLangMgr(Unknown Source)
        at com.konakart.bl.MgrFactory.getLangMgr(Unknown Source)
        ... 7 more
Caused by: org.apache.torque.TorqueException: com.mysql.jdbc.exceptions.jdbc4.My
SQLSyntaxErrorException: Table 'konakartdb.configuration' doesn't exist
        at org.apache.torque.util.ExceptionMapperImpl.toTorqueException(Unknown
Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.bl.LanguageMgr.fetchDefaultLanguage(Unknown Source)
        at com.konakart.bl.LanguageMgr.refreshConfigs(Unknown Source)
        at com.konakart.bl.LanguageMgr.<init>(Unknown Source)
        ... 13 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'kon
akartdb.configuration' doesn't exist
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2155)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2322)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        ... 19 more


        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.bl.EngineConfigCacheUpdater.setCheckInterval(Unknown Sou
rce)
        at com.konakart.bl.EngineConfigCacheUpdater.run(Unknown Source)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'kon
akartdb.configuration' doesn't exist
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2155)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2322)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        ... 9 more
com.konakart.app.KKException: org.apache.torque.TorqueException: com.mysql.jdbc.
exceptions.jdbc4.MySQLSyntaxErrorException: Table 'konakartdb.configuration' doe
sn't exist
        at com.konakart.bl.ConfigurationMgr.checkIfReturnable(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.bl.EngineConfigCacheUpdater.setCheckInterval(Unknown Sou
rce)
        at com.konakart.bl.EngineConfigCacheUpdater.run(Unknown Source)
Caused by: org.apache.torque.TorqueException: com.mysql.jdbc.exceptions.jdbc4.My
SQLSyntaxErrorException: Table 'konakartdb.configuration' doesn't exist
        at org.apache.torque.util.ExceptionMapperImpl.toTorqueException(Unknown
Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        ... 7 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'kon
akartdb.configuration' doesn't exist
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2155)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2322)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        ... 9 more
com.konakart.app.KKException: org.apache.torque.TorqueException: com.mysql.jdbc.
exceptions.jdbc4.MySQLSyntaxErrorException: Table 'konakartdb.configuration' doe
sn't exist
        at com.konakart.bl.ConfigurationMgr.checkIfReturnable(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.bl.EngineConfigCacheUpdater.setCheckInterval(Unknown Sou
rce)
        at com.konakart.bl.EngineConfigCacheUpdater.run(Unknown Source)
Caused by: org.apache.torque.TorqueException: com.mysql.jdbc.exceptions.jdbc4.My
SQLSyntaxErrorException: Table 'konakartdb.configuration' doesn't exist
        at org.apache.torque.util.ExceptionMapperImpl.toTorqueException(Unknown
Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        ... 7 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'kon
akartdb.configuration' doesn't exist
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2155)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2322)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        ... 9 more
Mar 20, 2014 11:55:03 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory konakartadmin
org.apache.torque.TorqueException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxEr
rorException: Table 'konakartdb.configuration' doesn't exist
        at org.apache.torque.util.ExceptionMapperImpl.toTorqueException(Unknown
Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.checkIfReturnable(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.bl.EngineConfigCacheUpdater.updateConfigs(Unknown Source
)
        at com.konakart.bl.EngineConfigCacheUpdater.run(Unknown Source)

















        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2155)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2322)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        ... 9 more
com.konakart.app.KKException: org.apache.torque.TorqueException: com.mysql.jdbc.
exceptions.jdbc4.MySQLSyntaxErrorException: Table 'konakartdb.configuration' doe
sn't exist
        at com.konakart.bl.ConfigurationMgr.checkIfReturnable(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.bl.EngineConfigCacheUpdater.updateConfigs(Unknown Source
)
        at com.konakart.bl.EngineConfigCacheUpdater.run(Unknown Source)
Caused by: org.apache.torque.TorqueException: com.mysql.jdbc.exceptions.jdbc4.My
SQLSyntaxErrorException: Table 'konakartdb.configuration' doesn't exist
        at org.apache.torque.util.ExceptionMapperImpl.toTorqueException(Unknown
Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        ... 7 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'kon
akartdb.configuration' doesn't exist
        at sun.reflect.GeneratedConstructorAccessor29.newInstance(Unknown Source
)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2155)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2322)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        ... 9 more
20-Mar 23:52:27 ERROR (?:handleException:?) com.konakart.al.KKAppException: Ther
e has been an exception in the ConfigCacheUpdater [7.2.0.0]
        at com.konakart.al.ConfigCacheUpdater.handleException(Unknown Source)
        at com.konakart.al.ConfigCacheUpdater.run(Unknown Source)
Caused by: com.konakart.app.KKException: java.lang.reflect.InvocationTargetExcep
tion
        at com.konakart.app.KKEng.manageThrowable(Unknown Source)
        at com.konakart.app.KKEng.getDefaultLanguage(Unknown Source)
        at com.konakart.app.KKEng.getDefaultLanguage(Unknown Source)
        at com.konakart.al.KKAppEng.init(Unknown Source)
        at com.konakart.al.KKAppEng.<init>(Unknown Source)
        at com.konakart.al.ConfigCacheUpdater.getClientEng(Unknown Source)
        at com.konakart.al.ConfigCacheUpdater.updateConfigs(Unknown Source)
        ... 1 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedConstructorAccessor31.newInstance(Unknown Source
)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.konakart.bl.MgrFactory.instantiateLangMgr(Unknown Source)
        at com.konakart.bl.MgrFactory.getLangMgr(Unknown Source)
        ... 7 more
Caused by: org.apache.torque.TorqueException: com.mysql.jdbc.exceptions.jdbc4.My
SQLSyntaxErrorException: Table 'konakartdb.configuration' doesn't exist
        at org.apache.torque.util.ExceptionMapperImpl.toTorqueException(Unknown
Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.bl.LanguageMgr.fetchDefaultLanguage(Unknown Source)
        at com.konakart.bl.LanguageMgr.refreshConfigs(Unknown Source)
        at com.konakart.bl.LanguageMgr.<init>(Unknown Source)
        ... 12 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'kon
akartdb.configuration' doesn't exist
        at sun.reflect.GeneratedConstructorAccessor29.newInstance(Unknown Source
)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2155)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2322)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        ... 18 more

org.apache.torque.TorqueException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxEr
rorException: Table 'konakartdb.configuration' doesn't exist
        at org.apache.torque.util.ExceptionMapperImpl.toTorqueException(Unknown
Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.checkIfReturnable(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.bl.EngineConfigCacheUpdater.setCheckInterval(Unknown Sou
rce)
        at com.konakart.bl.EngineConfigCacheUpdater.run(Unknown Source)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'kon
akartdb.configuration' doesn't exist
        at sun.reflect.GeneratedConstructorAccessor29.newInstance(Unknown Source
)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2155)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2322)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        ... 9 more
com.konakart.app.KKException: org.apache.torque.TorqueException: com.mysql.jdbc.
exceptions.jdbc4.MySQLSyntaxErrorException: Table 'konakartdb.configuration' doe
sn't exist
        at com.konakart.bl.ConfigurationMgr.checkIfReturnable(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.bl.EngineConfigCacheUpdater.setCheckInterval(Unknown Sou
rce)
        at com.konakart.bl.EngineConfigCacheUpdater.run(Unknown Source)
Caused by: org.apache.torque.TorqueException: com.mysql.jdbc.exceptions.jdbc4.My
SQLSyntaxErrorException: Table 'konakartdb.configuration' doesn't exist
        at org.apache.torque.util.ExceptionMapperImpl.toTorqueException(Unknown
Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        ... 7 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'kon
akartdb.configuration' doesn't exist
        at sun.reflect.GeneratedConstructorAccessor29.newInstance(Unknown Source
)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2155)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2322)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        ... 9 more
com.konakart.app.KKException: org.apache.torque.TorqueException: com.mysql.jdbc.
exceptions.jdbc4.MySQLSyntaxErrorException: Table 'konakartdb.configuration' doe
sn't exist
        at com.konakart.bl.ConfigurationMgr.checkIfReturnable(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.bl.EngineConfigCacheUpdater.setCheckInterval(Unknown Sou
rce)
        at com.konakart.bl.EngineConfigCacheUpdater.run(Unknown Source)
Caused by: org.apache.torque.TorqueException: com.mysql.jdbc.exceptions.jdbc4.My
SQLSyntaxErrorException: Table 'konakartdb.configuration' doesn't exist
        at org.apache.torque.util.ExceptionMapperImpl.toTorqueException(Unknown
Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        ... 7 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'kon
akartdb.configuration' doesn't exist
        at sun.reflect.GeneratedConstructorAccessor29.newInstance(Unknown Source
)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2155)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2322)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:96)
        ... 9 more
org.apache.torque.TorqueException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxEr
rorException: Table 'konakartdb.configuration' doesn't exist
        at org.apache.torque.util.ExceptionMapperImpl.toTorqueException(Unknown
Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.db.KKBasePeer.doSelect(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.checkIfReturnable(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.app.KKEng.getConfiguration(Unknown Source)
        at com.konakart.bl.EngineConfigCacheUpdater.updateConfigs(Unknown Source
)
        at com.konakart.bl.EngineConfigCacheUpdater.run(Unknown Source)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'kon
akartdb.configuration' doesn't exist
        at sun.reflect.GeneratedConstructorAccessor29.newInstance(Unknown Source
)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)

1 个答案:

答案 0 :(得分:1)

这是因为您的konakart安装完美但查询执行语句存在问题,我不知道此错误的确切原因,但在安装时您的konakart无法在您的数据库中创建表。其中一个解决方案是你可以下载konakart文件夹里面的konakart下载页面中的.zip文件你可以看到数据库文件夹里面的一个文件夹数据库你可以在特定数据库的文件夹中包含相应的sql文件只执行那个特定的数据库查询,这可能会对你有所帮助。 我使用的第二个解决方案是我的朋友安装konakart,我的朋友系统中的每一件事都非常完美,所以我拿了他用于konakart的数据库,然后按照以下步骤操作 假设备份数据库的名称(由我的朋友给出)是db.sql 1)我在dbql的bin文件夹中复制了db.sql 2)打开命令提示符,通过命令提示符进入bin文件夹,然后执行命令 mysql -u root -p konakrtdb&lt; db.sql 我将在我的konakart中使用konakartdb,然后启动konakart服务器。 这对我来说非常有用,希望对你有用。