Change db wait message into a progress bar

This decreases the noise from, potentially 60, `Waiting for database server to accept connections...` messages. These are replaced by a mere `.`, but written on the same line, forming a basic progress bar.