
Sometimes our support team receive a helpdesk request concerning this error message: Error 1146 Table 'mysql.proc' doesn't exist.
The usual problem with such a customers is that almost all of them make recent upgrade of MySQL server. While some releases of MySQL introduce changes in the structure of the system tables in mysql database to add new privileges and support new features, it is necessary to update the system tables as well. Error 1146 Table doesn't exist Fixed!
This error 1146:Table 'mysql.proc' doesn't exist by running mysql_fix_privilege_tables script in MySQL prior to version 5.1.7 or mysql_upgrade in version 5.1.7 or above.
For more details check following links:
- http://dev.mysql.com/doc/refman/5.1/en/mysql-fix-privilege-tables.html
- http://dev.mysql.com/doc/refman/5.1/en/mysql-upgrade.html
top *table 'mysql.proc' doesn't exist'*
| < Prev |
|---|




Comments
http://dev.mysql.com/doc/refman/5.5/en/identifier-case-sensitivity.html
Running: "show databases" should show you the database names and their case (if you have permission).
Hope that helps someone!
Paul.
ERROR 1146 at line 23: Table 'mysql.proc' doesn't exist
The server had the default MySQL 4.1.21 that comes with Red Hat Enterprise Linux 4, and it was upgraded to MySQL 5.0.65. After the upgrade, the mysql_upgrade script wasn't run, so the privilege tables were wrong, and the special tables for procedures and triggers did not exist.
To fix the problem, I ran:
# /usr/bin/mysql_upgrade
After about 30 seconds, the script completed and I was able to add a stored procedure without a problem.
Mysql.exe mysql -u root -p --force mysql < mysql_fix_privi lege_tables.sql
RSS feed for comments to this post.