• Hi, i’m new to wordpress and I am haveing a problem with my database connection. I have setup WordPress on my local machine and everything is working fine. I have created a blog and it is working fine. I have my blog in an iframe in a dreamweaver project. When I run it it come up just the way I want it to.

    Once I was satisfied with my blog I went into admin -> general setting and changed my wordpress address and site address to my online address eg: https://www.mysite.com/blog.
    I then went in to wp-config.php and change my database username and password and host info.

    Once this was all done I loaded my website and went to my blog. Nothing. So I went to https://www.mysite.com/blog/wp-admin/admin.php and it get “Error establishing a databse connection” I have checked my settings in my wp-config.php and all are correct and I can’t log-in to check my settings in admin.

    What have I missed?
    Thanks in advance for your help.

    Whichrtmej

Viewing 1 replies (of 1 total)
  • check with your your host waht you need to use DB_host as in local install you used localhost and some host use url

Viewing 1 replies (of 1 total)
  • The topic ‘Error connecting to database’ is closed to new replies.