# DB doesn't connect

**URL:** https://forum.kirupa.com/t/db-doesnt-connect/309216
**Category:** programming
**Created:** [May 10, 2010, 9:34am UTC](https://forum.kirupa.com/t/db-doesnt-connect/309216 "2010-05-10T09:34:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![andreand](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@andreand](https://forum.kirupa.com/u/andreand)
#### Post date: [May 10, 2010, 9:34am UTC](https://forum.kirupa.com/t/db-doesnt-connect/309216/1 "2010-05-10T09:34:46Z")

</div>

Hi!

first of all, thanks for your valuable help!

I’ll explain you my problem:  
I moved a website (php + backoffice) to a new host, but the same server company (Cdmon). Once I copied the files and imported the DB, it’s time to write the name in the address bar and check the website.

Everything seems work right, until I click on a link and … [COLOR=“red”]_ **Error 404** _[/COLOR]! It seems that the query doesn’t find results. However, the DB (data and structure) is there …

More clues …

When I try to enter into the backoffice, I can’t see the login screen, and this message appears:  
[COLOR=“Red”]_ **Unable to connect to your database server using the setting Provided** _[/COLOR]

I have checked username / password and they are correct.

Would you like to help me?

Thanks a lot!!
