MacPorts: MySQL upgrade from 5.0.x to 5.1.x error Column count of mysql.proc is wrong

sudo  /opt/local/lib/mysql5/bin/mysql_upgrade -uroot -p –basedir=/opt/local/lib/mysql5/bin/mysql

Command above resolved my "Column count of mysql.proc is wrong" error after a macports upgrade to 5.1.x