• I am new to WordPress – Have followed the instructions and read many of the support forum postings.. no luck. I do not think my DB is connected.
    My ISP is jumpline…
    I created the DB (following the instructions)
    created my u/n and p/w with the appropriate privileges
    try to run the install (php file) and continue to get the same error (at the bottom of this post)

    Tried changing the passwords, added /wordpress to the following files:
    wp-blog-header.php and the index.php file *root one*

    I’m stuck – here’s the error..

    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 localhost. This could mean your host’s database server is down.

    * Are you sure you have the correct username and password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?

    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The problem may be the your DB is not physically located on the same host (computer) as your website, a very common set-up with MySQL. Poke around on your webhost administration page and see if to can find a MySQL information/control panel. What you’re looking for is a notation giving the ip address of the DB server it will either be a normal ip or one starting with 192. or 10.. If both types are shown, use the internal network ip that starts with the 192. or 10., it’s much faster. You would use this ip where you currently have localhost (127.0.0.1 is the same thing as localhost) listed in your wp configuration.

    good luck
    TR

    charlescharleshutchinsoncom

    (@charlescharleshutchinsoncom)

    Thank you for this reply. I was just trying to install and was scratching my head as to why the sample config.php script would not work. The IP address fixed it.

    Thanks again.

    Hutch

    Thread Starter lisahinson

    (@lisahinson)

    Thank you for your response – I contacted Jumpline and they gave me the IP address for the SQL server but said to leave the setting at “localhost”..unfortunately I’m no closer to getting WP installed. It really seemed like a straight-forward/easy install… I feel pretty certain that the parameters I inserted are correct and the issue is with the DB I created. besides creating the DB are you also supposed to create all the tables or is that done automatically during the install?

    Any other suggestions?

    The database tables are created automatically during the set up. I would enter the ip they gave you, what have you got to lose? It won’t hurt anything, worst case you’ll get the same error. (Or try 127.0.0.1 it’s the system default for localhost in ip form)

    good luck
    TR

    I also have jumpline account. I am not sure if my installation problem is related to jumpline hosting, but I try to ask them to help me on the installation problems. they refuse to help.

    I have performed the install.php last night. but when i try to go to login.php, it says domain not found. i am sure my domain exist and with righ pointer.

    Please give me some suggestions.

    Moderator cubecolour

    (@numeeja)

    Thank you for your response – I contacted Jumpline and they gave me the IP address for the SQL server

    If its Windows Hosting with SQL Server it won’t work. SQL Server is not the same as MySQL Server.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘cannot get db to connect’ is closed to new replies.