Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Getting Error When trying to connect to database

meskarunemeskarune New
edited March 2013 in Vanilla 2.0 - 2.8

I'm trying to install Vanilla forums. I've verified that I can log into mysql with the username and password and the database exists:

mysql -u -p

Enter password:

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 12

Server version: 5.5.30-log Source distribution

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show databases;

+--------------------+

| Database |

+--------------------+

| information_schema |

| hhforum_db |

+--------------------+

But when I put these same credentials into my Vanilla install, I get this error:

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

How do I fix this so I can finish my install? Thanks!

Tagged:
Sign In or Register to comment.