java.sql.SQLException: Got error 28 from storage

1.問題,當java執行sql語句,報以下錯誤的時候(mysql數據庫):java

Caused by: java.sql.SQLException: Got error 28 from storage engine
   at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1084)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
   at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
   at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
   at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
   at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
   at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2212)
   at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
   at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:643)
   at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:586)
... 88 more

2.緣由mysql

磁盤滿了
spring

查看磁盤:df -h命令就行,能夠查看磁盤使用的狀況sql

3.解決辦法數據庫

到服務器上把沒用的軟件刪除掉,釋放了空間就沒問題了,或者擴容磁盤就好了。服務器

相關文章
相關標籤/搜索