When running the mysqldbcompare command as mentioned in the previous post you may get the following error:

ERROR: Query failed. 1142: SELECT command denied to user 'user'@'' for table 'proc'

Essentially the user ‘user’ doesn’t have the correct permissions to ‘SELECT’ from the database. To fix update permissions from within MySQL:

grant all privileges on database.* to 'root'@'' identified by 'password';

flush privileges;
Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@linuxtutorial.co.uk.