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
Hi,

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(SQLError.java:1055)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
        at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1383)
        at com.mysql.jdbc.DatabaseMetaData$2.forEach(DatabaseMetaData.java:2471)
        at com.mysql.jdbc.IterateBlock.doForAll(IterateBlock.java:50)
        at com.mysql.jdbc.DatabaseMetaData.getColumns(DatabaseMetaData.java:2345)
        at org.hibernate.tool.hbm2ddl.TableMetadata.initColumns(TableMetadata.java:146)
        at org.hibernate.tool.hbm2ddl.TableMetadata.<init>(TableMetadata.java:32)
        at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(DatabaseMetadata.java:90)
        … 36 more

Outcomes