• Hi.

    I am trying to get my WordPress weblog running on my ISP server

    We have a two tiered system

    1. Web server
    2. MySQL Server

    I can connect to the database and have created the db files no problems

    The front end (localhost) connects from my development system

    I have copied all the datafiles to my host website same password and server db etc.

    problem is I am getting a error message screen.

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at 19X.2XX.1XX.1XX. This could mean your host’s database server is down.

    19X.2XX.1XX.1XX is the fixed IP of my MySQL server.

    As I said I can connect to the db using my computer as a front end web server(localhost). But the ISP host can not.

    I think it might be something to do with a shared trust between server A an server B.

    Can you please advise

    System is running on a Linux servers..

Viewing 2 replies - 1 through 2 (of 2 total)
  • You might want to dig deeper into DNS,settings and caching fun. Specifically what localhost really is on your 192.168.x.y the WP server, and 192.168.x.z the DB server. I would not expect your WP server to be in the 192.168 range unless you are self hosting in which case you really need to understand DNS and private ranges. If you’re tweaking MySQL when DNS is the problem, expect more future problems.

    If your shelling in (ssh, telnet) thats one or two different IP’s. Don’t confuse them with what your server says. It’s safe to post 192.168.x.? address because they only work behind a firewall/router.

    Thread Starter crikeymedia

    (@crikeymedia)

    Thanks that is not the issue.

    I can connect my localhost to the MySQL database which is great for off line live testing of the front end…

    problem is that the host web serevr does not talk to the MySql database server.

    It could be a pHp version issue if not then it is my provider. The twop serevrs are next to each other and in the same domain segment.

    I will check again with my provider if no success I will change providers.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Connection error between dataserver and web server’ is closed to new replies.