Trouble installing Vanilla on a Windows Server.
Hi all,
New to Vanilla. Currently a WebWiz forums user (asp / windows based) and I am looking at migrating to a new platform. I've heard good things about Vanilla and since WebWiz are stopping any further development now seems like a good time to switch.
I have a windows server, mysql database etc. and seem to meet all the requirements for Vanilla. Wordpress is running and working fine.
When I run the setup screen I receive an error about .htaccess not being present. - I'm ok with this and will use a web.config file instead.
The part I am stuck on is the error message:
"The connection parameters you specified failed to open a connection to the database. The database reported the following error:
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: No such host is known.
You must specify the name of the database in which you want to set up Vanilla.
Banner Title is required."
I am using the correct database name, username, password and server name. I can manually connect and I can configure Wordpress to use those settings. I have tried both the IP address and the full name of the Mysql server to no avail.
Does anyone have any suggestions? I have tried everything I can find via Google and here.
Thanks
Comments
Try searching for
php_network_getaddresses
orSQLSTATE[HY000] [2002]
in this forum. There are some discussions and maybe one of them will help you getting started. Most simple solution would be that: http://vanillaforums.org/discussion/comment/196149/#Comment_196149 so I would try it out first.Thanks - the dummy .htaccess file I have tried too. The server generates an error for the .htaccess file, presumably with it being windows based, whether it is blank or not.
Could the issue be due to DNS? Ref. http://stackoverflow.com/questions/8210099/php-php-network-getaddresses-getaddrinfo-failed-no-such-host-is-known
My shop | About Me
Thanks. All I can go with for DNS is I can ping the server OK, use the same server address in wordpress OK (from the same server), I have also tried the IP rather than the name.
I'm wondering if its something to do with the .htaccess file. Although there is a tick box on the installer to install without it I'm not sure that is working... Lots of references on here to requiring a dummy blank .htaccess file even though you select the option to go ahead without.