Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table is read only error

Status
Not open for further replies.

johnnyfoxtrot

IS-IT--Management
Apr 7, 2004
4
US
We recently started using MySql as the db behind some java and cold fusion applications. A couple times we've gotten an error that says the table is read only. Stopping services and closing all open sessions does not correct the problem. We use Mysql Control Center as our GUI, and the repair functions there also give us the same error. The only thing that seems to work is rebooting the server. Anyone run across this before? Help would be appreciated.
 
What are the permissions on the MySQL database directory and table files?

The user as which MySQL runs should be the owner of the file and that user should have exclusive R/W permissions.

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
I'm assmuming you're running Win32.

You might go ahead and specify that only MySQL's user have access.

Also, do you have any kind of antivirus, backup, or other software that might be touching those files?

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
You assume correctly as far was Win32. The users accessing it are either on WinNT or Win2000. Server is Win 2003 server. There is no antivirus program that should be touching these. Also, we've been using MySql since January, and this has happened only 3 times, so it's not real frequent. All backups run at night, so that shouldn't be a possibility either.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top