How to resolve error message "Database is not accessible"