Installation Database Setup Error : [HY000] [2002] Connection refused


#1

Hi there,

My name is Fabien, I want to test for the first time Piwik on my website (portfolio) as I am an Artist.
I am honestly a noob I know only html and Css.

Anyway everything look easy for installation but I Can’t pass the Database Setup.

I created MySQL database on my host (1&1), and I get this:

Nom de la base de données/name of the database : db567685279
Nom du serveur de la base de données/Name of the database server : db567685279.db.1and1.com
Port : 3306
Nom d’utilisateur/User Name: dbo567685279
Description : MySQL_Piwik
Version : MySQL5
Etat : configuration initiée

So I try in different way (see attachment) but I get this error :
Error while trying to connect to the database server:
SQLSTATE[HY000] [2002] Connection refused

So I try with the help of a guy (by phone) from my host, and is look that the problem is not from my database.
my password have “_” “Letter”, “number” and “.” it’s a problem ?

Kind Regard
Fabien


(Matthieu Aubry) #2

Hi there,

we fixed a bug about this in the latest Piwik version. can you please try again to re-install with piwik 2.11.2 ? if you still have an issue with this version published today then please create a bug report at Issues · matomo-org/piwik · GitHub
(but I think it will work!)


#3

Hi Matt

I test that and let you know.

Thanks


#4

Hi Matt

Is still doesn’t work so I make a bug report at [github.com]

Thanks


#5

Ok Matt Actually I get it.

I had to inverse the database name and server.

So sorry for that.