Support » Installing WordPress » Can’t connect to database, host is webfusion

  • Resolved richardpeters

    (@richardpeters)


    Hi all, I’ve done a search and seen there are many threads on this topic but none of the solutions mentioned have helped me.

    I have done the usual, gone through the install address to fill out my database details. Checked them, re checked them and then checked them again, I can log in to the databse itself so I know they are ok but as many others find, I get the ‘unable to connect to database’ message.

    I’ve tried changing the DB password but that hasn’t helped, I’ve tried using the I.P. address instead of localhost but that just hangs on a loading page for ages then gives me an internal server error message.

    I’ve tried uninstalling and reinstalling everything but that hasn’t helped and I have also tried entering the details manually in to the config file but that gives me the ‘cannot connect…’ message. I also deleted the databse and created a new one to start fresh that way…no use.

    I’ve emailed webfusion to ask if there is something else I can put instead of localhost but they have not replied as yet.

    Is there anything anyone can suggest? The annoying thing is, I was on a basic hosting package with webfusion and when I tried to instal then I got past this stage then hit a wall as I was usuing an old version of MySQL! So I upgraded to a new hosting package on a new server with webfusion to get MySQL 5 and now I can’t get as far as I could before.

    I’m guessing it’s a databse issue but as WF haven’t replied to me still I don’t know what else I can do?!

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’ve emailed webfusion to ask if there is something else I can put instead of localhost but they have not replied as yet.

    wait for them. send another email.

    Thread Starter richardpeters

    (@richardpeters)

    Sorted it, finally!! Turns out I’m in the %1 that needs something other than local host. After digging around in the back end of the database I found 1 line that gave me a server name, tried it and I’m in. My god that was painful, if only webfusion had replied to my mail what seems like an ice age ago I’d have been in straight away!! Thanks anyway 🙂

    define(‘DB_HOST’, ‘databasehostnamehere’);
    // The database hostname (it can be found on the phpAdmin page as above, click on //‘Show MySQL system variables’ and note down the first part of the hostname //variable. Eg; if the hostname is ‘cust-mysqlno.atlas.pipex.net’, the DB_HOST is //‘cust-mysqlno’.

    I had similar difficulties with web-fusion. However, found this page in their support section which helps, has similar info as above – http://www.webfusion-support.co.uk/Answer.aspx?ArticleID=104

    By the way, if you are signing up for a web-fusion account for wordpress, you need the webfusion pro account and make sure it’s on linux as the windows server doesn’t support wordpress as runs off MSSQL rather than MYSQL.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t connect to database, host is webfusion’ is closed to new replies.