We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23395
    • 2 Posts
    This might be a dumb question, but here goes...

    I am trying to install Modx and I keep getting "Connection to host: failed!"

    I am entering my host name as: phpmyadmin.louiseannette.com

    That is where I go to login to phpMyAdmin 2.6.3-pl1 to see my database info, etc....I get in fine there with my login name and password.

    But the install can’t seem to login...

    Am I not entering the correct thing for "Database host"?? HELP!!!

    Database host: phpmyadmin.louiseannette.com
    Database login name: pillow_lady
    Database password: ********

    Connection to host: failed!

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      That’s because MODx can’t access the database via phpmyadmin; phpmyadmin is not a server’s name, it is the name of a program. You have to have just the hostname of the server, not how you access another program (actually that’s a subdomain URL, not a host name).

      It is most likely "localhost"; that’s a good one to try at any rate. If that doesn’t work, you’ll need to get the actual database server’s hostname from your hosting tech support.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 23395
        • 2 Posts
        YEAH!! It worked! The install was successful!

        I searched high and low for the host name and finally found it by googling "Yahoo host name" (I use Yahoo web hosting.) Yahoo’s documentation sucks!

        Yes, I had tried "localhost" and it didn’t work.... it was actually "mysql". I should have remembered that from when I installed my BeeHive forum....

        I need to write that down....

        The crazy pillow lady thanks you very much!

        You are invited to the Jolly Good Corner Pub for a virtual beer on me! (That’s a forum I run...)

        http://louiseannette.com/beehiveforum071/forum/

        Good night! smiley