That's not a vBulletin error, that's a MySQL error. Make sure the login, password, host, etc. for your database are correct.