Fixing one problem gives rise to another.

The database uploaded ok (so it would appear), but when I go to //localhost/zencart, I get an error message "...seems to be a problem connecting to our database. Please give us a few minutes...... etc etc etc..

If I try and get into Admin I get another error message

0 DB_ERROR_NOT_CONNECTED in [select * from project_version_key = Zen-Cart Database']