FLUSH privileges error after up-gradation of php

If you get following error with FLUSH privileges command after upgrading your php or  mysql  

FLUSH privileges;
 ERROR 1146 (42S02): Table 'mysql.servers' doesn't exist

the solution is 

Solutions:
Run the following command:

mysql_upgrade -u your_username -p

Comments

Popular posts from this blog

(Solved) (Fixed )MariaDB Unmet Dependencies on Ubuntu 20.04.

Solution to Moodle Error: Coding error detected, it must be fixed by a programmer: Failed to unserialise data from file. Either failed to read, or failed to write.

ACTION_FAILED:OU_INVALID: Solution for GoogleApps bulk user upload issue, username@domainname.com:ACTION_FAILED:OU_INVALID. This error is because you have not specified the Org Unit Path properly.