Error while trying to connect to the database server

I have an error when I start to configure piwik :

[quote=“Error while trying to connect to the database server:
SQLSTATE[HY000] [2002] No such file or directory”]
[/quote]

Thank you :slight_smile:

Did you create the database before trying to install Piwik?

Piwik requires that the database already exists; it will not create the database for you. Piwik will, however, create all of the database tables it needs in that already-existing database during the Install process.

If you don’t know how to create the database, you should contact your service provider for help.

I already create the database and I don’t know why I get this error :confused: