Error: Can't lock file

2002-12-09 Thread Geetika Tewari
I am getting the following error while trying to do read-write queries on MySQL. Does anyone know what this error means? The name of the script that generated this error is called randomreadwrite.pl. Can't lock file (errno: 12) at ./randomreadwrite.pl line 54. Line 54 does the following:

Error: Can't lock file

2002-12-08 Thread Geetika Tewari
Hi, I am getting the following error while trying to do read-write queries on MySQL. Does anyone know what this error means? The name of the script that generated this error is called randomreadwrite.pl. Can't lock file (errno: 12) at ./randomreadwrite.pl line 54. Thanks very much.

Re: Error: Can't lock file

2002-12-08 Thread Paul DuBois
At 23:09 -0500 12/8/02, Geetika Tewari wrote: Hi, I am getting the following error while trying to do read-write queries on MySQL. Does anyone know what this error means? The name of the script that generated this error is called randomreadwrite.pl. Can't lock file (errno: 12) at

Re: Error: Can't lock file

2002-12-08 Thread Geetika Tewari
In answer to Paul's response: Line 54 does the following: $sth-execute() or die $sth-errstr; in the following chunk of code that is in my Perl script: # update the gpa of 1000 random students for ($i = 1 ; $i = $num_updates ; $i++) {

General error: Can't lock file (errno: -1)

2001-10-29 Thread Pelle Eliasson
Hi, When I run my application I get java.sql.SQLException: General error: Can't lock file (errno: -1) at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java) at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java) at org.gjt.mm.mysql.Connection.execSQL(Connection.java