Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7243

Weird circle of hades - Evil gremlins - help! (1 reply)

$
0
0
I installed (from source) MySQL 5.5.8 on a Fedora 14 machine. Installed mysql from source many times before. Configure/compile/install went beautifully. Nothing unusual happened and all seemed to go well. I ran the upgrade script and the server starts and runs without problems. However, I can't use some tables in the system! Problem survives dump/reload. This is not intermittent - this is VERY reproducible behaviour:

STEP 1 - Pick one of the tables with a problem. Run any SQL that attempts to change this particular one table.........


mysql> update aFuser set <blah .blah .blah>
Query OK, 0 rows affected, 1 warning (0.00 sec)
Rows matched: 1 Changed: 0 Warnings: 1

Note warning and no updates even though there is a match. And now web site scripts that use this table just crash like nobody's business..... Nothing in any log anywhere; whatsoever.

So Step 2; I run mysqlcheck on the table ......

<shell> ../bin/mysqlcheck -u mrdba -p atisForum aFuser --repair
Enter password:
atisForum.aFuser
error : 1 when fixing table
Error : Can't change ownership of the file '/usr/local/mysql/var/atisForum/aFuser.MYD' (Errcode: 1)
status : Operation failed

Yikes! After some reserach I saw a post somewhere about having to set ownerships, even when the ownerships "look" right. So I try that and repair again:

<shell>chown mysql:mysql atisForum/*
<shell> ../bin/mysqlcheck -u mrdba -p atisForum aFuser --repair
Enter password:
atisForum.aFuser OK

GEEZ - Its fine, the web site is fine


UNTIL

another sql executes that updates the table. Then the cycle repeats.


Anyone got any ideas for me? Never seen this before and everything was fine last week before the upgrade.

Thanks in advance!


NCDiesel
MySQL 5.5.8

Viewing all articles
Browse latest Browse all 7243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>