It looks like you're new here. If you want to get involved, click one of these buttons!
I have installed many scripts lately without any problem, includding Pligg, 4images, Dolphin 7...The connection parameters you specified failed to open a connection to the database. The database reported the following error: SQLSTATE[HY000] [2002] Invalid argument
Comments
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Any other idea? Thanks.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Developer at Vanilla Forums, Inc. [GitHub, Twitter]
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Thanks for your time and good luck.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Solved now : I had to specify the mysql server name, like "mysql4-99".
Best regards.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •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.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •To fix this in my php.ini file, I found the line that said:
pdo_mysql.default_socket =
Which was supposed to see the default location, but didn't seem to be working. I changed it to where I put my mysql.sock (varies depending on server, most are in tmp):
pdo_mysql.default_socket = /var/mysql/mysql.sock
As soon as I did that, worked like a charm.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I have the same error, and i try localhost, 127.0.0.1 and with the hostname, but the installation processus don't work...
Any idea?
Edit: Htaccess file was missing but I checked do not use, in addition, the installation finished :)
Nicolas
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I have been a Vanilla 1 user for many years, so I want to persevere with it, but I don't know what I can do. If so many have the same problem, doesn't this mean it is a fault in Vanilla that can be corrected? Or am I being naive?
Thanks.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Should I use my old Vanilla version 1, which I know works for me?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Developer at Vanilla Forums, Inc. [GitHub, Twitter]
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •