On 10/09/2011 08:41 PM, Rod Lindgren wrote:
> I have a hosting account and am trying to get a friend's website up and
> running. We downloaded his existing site from his current host and uploaded
> it to my host. It is currently under a subdomain, www.egypt.aragren.com
> <http://www.egypt.aragren.com/> . When I go there, I get an error message
> that says, "Error establishing a database connection." What causes this and
> how can I fix it? 
>
>
>  
>
> Sensei Rod Lindgren
>
>  
>
> Sent from my Gateway computer
>
>  
>
>  
>
>
This issue isn't related to PHP but the cause of the error is due to the
scripts' inability to make a connection to the database. The error looks
like it's coming from WordPress, I could be wrong but if that's the case
then you need to update the wp-config.php file to reflect the proper
credentials to log into the database.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to