Solved

mysql and read-only errors

Posted on 2001-07-10
5
172 Views
Last Modified: 2010-04-16
i'm trying to do an insert/update on a table and it gives me the error:

table 'mytable' is read only (State:S1000, Native Code: 40C)

i'm running linux and i'm pretty sure i have the permissions set up correctly.  (I've set up my user to have all priviledges on all databases).

anyone have this problem before?

0
Comment
Question by:bobbit31
  • 3
  • 2
5 Comments
 
LVL 92

Expert Comment

by:objects
ID: 6271528
What user are you logging in to the database with?
What are the permissions granted to this user for mytable?
0
 
LVL 18

Author Comment

by:bobbit31
ID: 6273025
a user i set up with all permissions, i've even tried with root.
0
 
LVL 18

Author Comment

by:bobbit31
ID: 6274349
i've figured it out... basically i'm switching from NT to Linux and stupidly i just copied over the database files.  It let me read them ok so i figured that the transfer went ok.  But that's what screwed it up.  Basically to fix i did a mysqldump and then mysqlimport and everything is fine now.  
0
 
LVL 92

Accepted Solution

by:
objects earned 100 total points
ID: 6274935
Your unix perms are seperate from your db perms.
0
 
LVL 18

Author Comment

by:bobbit31
ID: 6277371
i've already figured it out, but since i get eekpro for free the points are yours... thanks
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
The viewer will learn how to implement Singleton Design Pattern in Java.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now