Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1957

SQL Error: 1033, SQLState: HY000 Incorrect information in file (1 reply)

$
0
0
Hello,

This is my first post on this forum and I hope I'll get some help.

I'm having a production server using MySQL 5.0 and hosting two MyISAM databases. I recently added a third database that uses InnoDB.

The server started to become sluggish few weeks later and I suspected the bottleneck to be in MySQL. I wanted to tune it and after having "googled" sometime, I added the following settings to "my.cnf" (among other things):

innodb_buffer_pool_size = 512M
innodb_log_file_size = 128M
innodb_log_buffer_size = 8M

MySQL said OK when I restarted it with the above settings. However, when I restarted the application server (JBoss 5.1) that deploys the application that uses the InnoDB database, it failed fetching the database metadata. I found the following message in the server's log:

[org.hibernate.tool.hbm2ddl.SchemaValidator] (main) Running schema validator
[org.hibernate.tool.hbm2ddl.SchemaValidator] (main) fetching database metadata
[org.hibernate.util.JDBCExceptionReporter] (main) SQL Error: 1033, SQLState: HY000
[org.hibernate.util.JDBCExceptionReporter] (main) Incorrect information in file: './tend_db/agent.frm'

Everything comes back to normal when I comment out the three "innodb*" lines from "my.cnf".

This is not an Hibernate issue since it was just reporting an exception thrown by mysql.jdbc

Caused by: java.sql.SQLException: Incorrect information in file: './tend_db/agent.frm'
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)

Any help, advice or comment will be highly appreciated.

Thank you,

Viewing all articles
Browse latest Browse all 1957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>