Added FLUSH PRIVILEGES to mysql install to fix bug where user couldn't access db.