Fatal error: Can’t open and lock privilege tables

On a Cpanel Server, MySQL did not start. I checked the error log in /var/lib/mysql folder, found following error

2018-05-02 12:08:34 30796 [ERROR] Fatal error: Can’t open and lock privilege tables: Table ‘./mysql/db’ is marked as crashed and should be repaired

It says “db” table in “mysql” database got corrupted. To fix, i run following

Now restart MySQL with command