Merge "Fix wrong permission on database during mysql_init tasks." into stable/pike