冯冬冬
2016-11-14 16:47
Exception in thread "main" com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'imooc.imocc_goddess' doesn't exist
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3243)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3172)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1197)
at fdd.connecttest.main(connecttest.java:17)
链接数据库的部分再看看,可能名字啥错了
JDBC之 “ 对岸的女孩看过来”
99327 学习 · 856 问题
相似问题