Adding localstats to etc/hosts file, and adding DB perms for it.