I am starting to use MySQL Workbench tool especially for data modeling. So, the first I would like to do is reverse engineering of my existing database on web server. But I
I am using Centos 6.5 for Server purposes. And Mysql Workbench for ERR Diagram. I got the same error. Answers above did not work for me.
This answer is based on changing data type for comment column. And works like charm.
Connect mysql from console.
use mysql;
show create table mysql.proc;
Then look for comment column. If it's datatype is char, change to text.
You can also use any other gui for making changes.
This happens due to schema changes required for different server versions.
mysql_upgrade -uroot -p
will filx the issue.
Sometimes you require to uninstall server and clean its data directory. And re-install to make a fresh copy of data files.
I used XAMPP in CentOS and manually upgraded the XAMPP except the existing data folder. With the new server software of MySQL and old database files, I got the same error.
I did with this solution and worked fine:
cd /opt/lampp/bin
./mysql_upgrade -uroot -p
It looped through almost all tables in the system, but ended with a fixed issue.
I'm using MySQL version 5.5.9 on MAC. I fixed this problem by running:
mysql_upgrade -uroot -p
I use MAMP on mac and failed to upgrade the my databases via command line as suggested above, but it worked when i used MAMP PRO->TOOLS menu options (top of OS X screen) to 'Check', 'Repair' and 'Upgrade' databases.
I presume that the GUI supplies the underlying CLI tools with the necessary options, so that you don't have to think about what those options need to be (as opposed to running the CLI tools manually).
Upgrading my MAMP in this way (via MAMP PRO's GUI Tools) made my (separate) Oracle mysqlWorkbench 6.0 app work just fine with my local MAMP PRO 2.0.5 databases on OS X 10.8.5 (Mountain Lion), which mysqlworkbench had said were corrupt previously (but MAMP's phpmyadmin worked fine on them whilst they were "corrupt", curiously). Now, both mysqlWorkbench 6.0 and MAMP PRO's phpmyadmin tools are both happy, and so am I.
Using MAMP PRO (version 2.2) I tried pmking's suggestion and was still getting nowhere. So I edited the two files: /Applications/MAMP/bin/repairMysql.sh /Applications/MAMP/bin/upgradeMysql.sh
changing 'proot' to 'p' in each. This creates a prompt for the MySQL root password and it worked!
I hope that helps someone else.