Error when setting Piwik analytics

Posted by bertran on Pro Webmasters See other posts from Pro Webmasters or by bertran
Published on 2011-09-27T18:07:00Z Indexed on 2011/11/22 2:11 UTC
Read the original article Hit count: 362

Filed under:
|
|

I've uploaded the latest version of Piwik unto my web server, which is hosted by go daddy.com, on a linux hosting plan. I'm setting it up (accessing it from my browser as instructed) and I have the "Piwik>installation" page open on step 3 (database set-up ) of 9. I don't know what to imput in the field "database server"... the default is the number 127.0.0.1

When I leave that input as is, and click "Next" leaving the gives the error:

"Error when trying to connect to database server: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111"

and changing that input to "localhost" gives me another error:

"Error when trying to connect to database server:SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)"

© Pro Webmasters or respective owner

Related posts about godaddy

Related posts about tracking