Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Update for critical security issue in PHPMailer included in release Vanilla 2.3.1
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

installation problem vanilla2 - Unknown MySQL server host

edited October 2010 in Vanilla 2.0 - 2.2
Alright guys.
Im trying to install the latest version of vanilla2 but I am getting the following error on the setup screen.

"""""Are you sure you've entered the correct database host name? Maybe you mistyped it? The database reported:

SQLSTATE[HY000] [2005] Unknown MySQL server host '~~Invalid~~' (1)

You must specify the name of the database in which you want to set up Vanilla.
Banner Title is required."""""

I placed all the correct information on DB Host, DB Name, etc.
And clicked on the "Install Vanilla without a .htaccess file."



  • check CAREFULLY again, typo error? often dbname occurs several times
    eg from an old config.php

    $Configuration['Database']['Name'] = 'sal100924v209';
    $Configuration['Database']['Host'] = '';
    $Configuration['Database']['User'] = 'sal100924v209';
  • nope. everything was perfect, except the .htaccess file
    I uploaded it to my server using windows (to see the hidden file) and it worked.
    (kind of stupid to have an option on the setup to install without the .htaccess file if it won't work)
  • edited December 2011

    Was this ever resolved? I'm having the exact same issue with Vanilla on a new install.

    Looks like if you don't have an .htaccess file you get the wrong error message from vanilla. Once I copied an htaccess from elsewhere I got a actually useful MySQL error message.

Sign In or Register to comment.