Tip Details Add a Related Tip

Rate as: Positive Negative

The table mysql.proc is missing, corrupt, or contains bad data

After my latest upgrade of MySQL on my Fedora 11 install, I started getting errors like this every time my database tried to run a stored procedure or function:

The table mysql.proc is missing, corrupt, or contains bad data

As it turns out, the latest upgrade required that the database schema by updated afterwards and I hadn't done this. So if you're getting these errors, here are the commands I ran to fix the problem:

1) Run mysql_upgrade (this will upgrade your tables and data)

2) Run mysqlcheck --check-upgrade --all-databases --auto-repair (this will repair things broken during the upgrade).

3) Run service mysqld restart (this will restart the database).

After I ran these commands my database was working again and running stored procedures and functions with the "The table mysql.proc is missing, corrupt, or contains bad data" error.
Rating: 100% positive, 1 Vote
Categories: MySQL repair database
Added: on Oct 01, 2009 at 10:07 pm
Added By: an anonymous user
Searches: database mysql repair run data

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

MySQL equivalent to Oracle NVL

Categories: MySQL Oracle database
no ratings, 0 comments
– Tip added by an anonymous user on Jul 31, 2009 at 4:01 pm

Slow and broken tabs in IE8

100% positive, 0 comments
– Tip added by an anonymous user on Apr 01, 2009 at 10:08 am

Can't hear calls on the iPhone

Categories: iPhone repair speaker
100% positive, 0 comments
– Tip added by an anonymous user on May 27, 2009 at 9:32 am

MySQLi Dumper

75% positive, 0 comments
– Tip added by an anonymous user on Feb 18, 2009 at 11:30 am

keeping zipper up on jeans

Categories: clothing zippers repair
100% positive, 0 comments
– Tip added by an anonymous user on Mar 04, 2009 at 9:40 am

Windows 7 upgrade stops at 62%

100% positive, 0 comments
– Tip added by an anonymous user on Nov 04, 2009 at 2:21 pm

Dyson vacuum losing suction

Categories: Dyson vacuum repair
100% positive, 0 comments
– Tip added by an anonymous user on Oct 27, 2009 at 7:51 am

Zune HD screen not rotating

Categories: Zune HD repair
100% positive, 0 comments
– Tip added by an anonymous user on Oct 02, 2009 at 2:12 pm

Power problems with Powermatic PM2000 table saws

Categories: tools saws repair
100% positive, 0 comments
– Tip added by an anonymous user on Sep 26, 2009 at 3:39 pm

Restoring the /home directory in Snow Leopard

100% positive, 0 comments
– Tip added by an anonymous user on Sep 04, 2009 at 9:19 am

Fixing app icons on the iPhone 3.0

Categories: iPhone iphone 3G repair
100% positive, 0 comments
– Tip added by an anonymous user on Aug 21, 2009 at 10:39 am

Reset XBox 360 video settings

Categories: XBox 360 video games repair
50% positive, 0 comments
– Tip added by an anonymous user on Apr 30, 2009 at 8:02 am

Find car repair costs

100% positive, 0 comments
– Tip added by an anonymous user on Mar 12, 2009 at 9:45 am

black screens when screen sharing in snow leopard

no ratings, 0 comments
– Tip added by an anonymous user on Nov 08, 2009 at 2:29 pm

uTorrent not running on Windows 7

no ratings, 0 comments
– Tip added by an anonymous user on Oct 31, 2009 at 8:27 pm

Fix gurgling radiators

no ratings, 0 comments
– Tip added by an anonymous user on Oct 20, 2009 at 8:01 am

Hibernation errors in Windows 7

no ratings, 0 comments
– Tip added by an anonymous user on Oct 19, 2009 at 7:05 am

Delete Records With Effect Using jQuery And PHP

Categories: php jQuery MySQL
no ratings, 0 comments
– Tip added by an anonymous user on Sep 27, 2009 at 7:10 am

Dropped digital camera

no ratings, 0 comments
– Tip added by an anonymous user on May 02, 2009 at 6:57 am

Reset change oil light on Chevys

no ratings, 0 comments
– Tip added by an anonymous user on Feb 13, 2009 at 1:14 pm