AnsweredAssumed Answered

java.sql.SQLException: Can't create/write to file 'D:\temp\

Question asked by mahanare on Dec 18, 2008
Latest reply on Jan 8, 2009 by chraja

After installing the latest community download, i am not able to start the server. It shows error and and it is not coming up.

Here is a snippet from the exception stacktrace while starting the tomcat. It was actually throwing this error to c:\windows\temp folder, but then in changed the directory in the configuration file so it shows d:\temp. 

Please help me get rid of this error.

        … 33 more
Caused by: java.sql.SQLException: Can't create/write to file 'D:\temp\#sql_1c7c_0.MYI' (Errcode: 13)
        at com.mysql.jdbc.SQLError.createSQLException(
        at com.mysql.jdbc.SQLError.createSQLException(
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(
        at com.mysql.jdbc.MysqlIO.sendCommand(
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
        at com.mysql.jdbc.ConnectionImpl.execSQL(
        at com.mysql.jdbc.ConnectionImpl.execSQL(
        at com.mysql.jdbc.StatementImpl.executeQuery(
        at com.mysql.jdbc.DatabaseMetaData$2.forEach(
        at com.mysql.jdbc.IterateBlock.doForAll(
        at com.mysql.jdbc.DatabaseMetaData.getColumns(
        at org.hibernate.tool.hbm2ddl.TableMetadata.initColumns(
        at org.hibernate.tool.hbm2ddl.TableMetadata.<init>(
        at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(
        … 36 more