To resolve this error “Fatal error: Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist”, you just need to tell MySQL where to look for the database files. This can be changed with this command:
mysql_install_db –user=mysql –ldata=/meltwater/mysql