Fix wrong permission on database during mysql_init tasks.