Update server::grant to use $default_database