MySQL will sometimes return the error message “Cannot load from mysql.proc. The table is probably corrupted”. This happens due to schema changes required for different MySQL server versions. The simple fix to this problem is to run the mysql_upgrade command from the command line.
About mysql_upgrade
mysql_upgrade examines all tables across all databases for incompatibilities with the current version of MySQL Server. mysql_upgrade also upgrades the system tables so that you can take advantage of new privileges or capabilities that might have been added.
mysql_upgrade should be executed each time you upgrade MySQL. It supersedes the older mysql_fix_privilege_tables script, which should no longer be used.
mysql_upgrade executes the following commands to check and repair tables and to upgrade the system tables:
mysqlcheck --all-databases --check-upgrade --auto-repair
mysql < fix_priv_tables
Run mysql_upgrade From Command Line
To use mysql_upgrade, make sure your MySQL server is running and then invoke mysql_upgrade from the command line tool:
mysql_upgrade -uroot -p --force
You should then be prompted to enter the MySQL root's password and mysql_upgrade will check all the databases and tables and fix them where appropriate. You may need to specify the full path to the above command if it's not in the shell's search path.
On Debian 6 it should be loacted at:
/usr/bin/mysql_upgrade -uroot -p --force
On Mac's MAMP the default path is:
/Applications/MAMP/Library/bin/mysql_upgrade -uroot -p --force
On Windows it'll be where MySQL is installed and contained in the bin subdirectory. By default it should be located at:
"C:\Program Files\MySQL\MySQL Server\[*CHANGE TO MySQL SERVER*]\bin\mysqladmin" -u root shutdown
VICTORY!
After running mysql_upgrade, stop the server and restart it so that any changes made to the system tables are ensured to take effect.
All checked and repaired tables are marked with the current MySQL version number. This ensures that next time you run mysql_upgrade with the same version of the server, it can tell whether there is any need to check or repair the table again.
Pingback: » MySQL 5.1.x升级到MySQL 5.5.x [Java堂]
Hi,
I have same problem but my mysql tables are working properly . but in database stored procedures are showing this type of problem.
And Other thing is my server is shared server on internet how can i use its command line .
Pingback: nothingOS » MySQL : Cannot load from mysql.proc. The table is probably corrupted
I’m getting this error in MySQL Workbench, however there does not appear to be any errors in phpmyadmin. Also, I do have a functional instance of wordpress installed here. I ran the terminal commanded suggested above and I got an error “-bash: mysql_upgrade: command not found”.
Any ideas?
Wow ! Generally great Article … Thank you for the information
Pingback: How To Fix Error In Uploading Cannot Load Library Errors - Windows Vista, Windows 7 & 8
Hi,
Thanks for the post.
I would like to add one small note.
You may not require to restart MySQL server after upgrade.
Regards,
Viswa.
Hi,
I have run mysql_upgrade -uroot -p –force but phpmyadmin still show that mysql.proc error.
I upgraded mysql(from 5.1 to 5.6) and I would like to import an export sql file back. But in export file is some function which makes me this. Can you help me?
Thanks!!!
It’s really helpful, thanks!!!
Saved my day. Well written. Thanks!!
Worked like a charm, thanks!
Thanks Bro ,,, Saved my day
Wow really nice thank you for posting related with the Mysql. And please keep update like this
Most of the time mysql gives this error.
Thanks for given information about How to Resolve MySQL Error Code: 1548 Cannot load from mysql.proc. The table is probably corrupted, all the information are very useful.
Thanks for sharing content and such nice information for me
this problem gave me a headache for almost a month, didn’t knew it was this easy, thanks for the help
Thanks for sharing…such a nice blog with nice information
Thanks for sharing this article with us, I’m trying to solve this problem for the last 2 days/…
I really appreciate your writing skills and the way you explain
This article is really helpful and informative,
keep sharing
Thanks for this awsome posts….keep sharing
I tried a lot and still, I am trying to solve it
Thanks For Sharing Your Thoughts Or Problems With Us We Will Try To Solve This.
بیمارستان مریم یک مرکز تخصصی برای زنان است که از بهترین پزشکان متخصص زنان کرج بهره میگیرد.و شامل بخش های زیر است
کلینیک درد
گردشگری سلامت
زایمان طبیعی بدون درد
کلینیک درمان ناباروری
برای درمان دردهایی مانند :
درد زانو
درد ستون فقرات
دردهای سرطانی و…
به کلینیک درد باید مراجعه کرد
بیمارستان مریم دارای بهترین پزشکان متخصص زنان در کرج است.
زایمان طبیعی بدون درد یکی از روش هایی است که در بیمارستان مریم انجام شده و موجبات رضایت مادران زیادی را فراهم آورده است.
از تخصصی ترین مراکز انجام لیزر موهای زائد در تهران، کلینیک ونک است
کلینیک ونک دارای متخصص پوست حاذق است که تمامی اقدامات انجام شده در این مرکز را تحت نظر دارد.
دکتر صلاح الدین دلشاد یکی از بهترین پزشکان فوق تخصص اطفال و جراح اطفال است که نادرترین عمل های را انجام میدهد.
Thanks for sharing this article. your writing skills are amazing.
I’m trying to solve it from a long time but its not, your article made my work easier thanks for sharing.
It was so good boudy
terima kasih
Thank you very goos
Thank you. Very good
Hi. Very nice. Thanks
Very best site..
Free download the new version.
Thanks for the amazing post…. keep sharing.
Your blog is awesome, i like this post,thank you so much for sharing.
Thanks for the amazing post
فرش سجاده
فروش اینترنتی سجاده فرش
تابلو فرش
تابلو فرش عکس چهره
thanks admin nice
very good admin
teşekkürler adana sohbet odaları
thank sayın yönetici ankara sohbet odaları
nice web site hollanda sohbet
متن کاربری زیر ممکن است برای شما مفید باشد
very good