Problem:
Getting Cannot load from mysql.procs_priv. The table is probably corruptedwhen trying to create a new mysql user.
Platform : OSX Yosemite, Homebrew
The solutions have already tried other answers :
- Modernization:
mysql_upgrade -uroot -p- I had to use
--forcebecause of this:This installation of MySQL is already upgraded to 5.7.9, use --force if you still need to run mysql_upgrade - Then I had to use
--skip-version-checkbecause of this:Error: Server version (5.7.18) does not match with the version of the server (5.7.9) with which this program was built/distributed. You can use --skip-version-check to skip this check. - still not working after all this
- Reducing the request to the most obvious and removing functions :,
CREATE USER 'newuser';still throws the same error. - Restore mysql.procs_priv table
char mysql.procs_priv varchar, . , text, mysql.