Error establishing a database connection

WP-admin is not accessible on the site. Getting error “Error establishing a database connection”. There are missing tables, _sites, _sitemeta and _blogs