Database error--step 3 of installation


#1

Here is the error message I get when trying to complete step 3:

“Error while trying to connect to the database server:
SQLSTATE[HY000] [2013] Lost connection to MySQL server at ‘reading initial communication packet’, system error: 111”

The database server came up as 127.0.0.1, so I left that, and added in the information for the database I created. When I received the above error message, I tried replacing 127.0.0.1 with localhost, like in the installation instructions. That didn’t work either, and I received another error message:

“Error while trying to connect to the database server:
SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)”

I’m new to Piwik, and new to website management in general. There’s a lot I haven’t learned yet, and I don’t know where to start fixing this problem. I would appreciate any help.

Thanks,
Kris


#2

hello,

did you sove the probleme please ?

Thank you
Regards