MySQL: Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist [closed]

Solution 1:

Run the following command

mysql_install_db

Solution 2:

initialize mysql before start on windows.

mysqld --initialize