[Mediawiki-l] install MediaWiki 1.18.0 on tuxfamily

Klaus Becker colonius at free.fr
Thu Dec 22 13:03:29 UTC 2011


Le jeudi 22 décembre 2011 13:06:40, Tim Starling a écrit :
> On 22/12/11 21:17, Klaus Becker wrote:
> > Hi,
> > 
> > I try to install MediaWiki 1.18.0 on tuxfamily.org, but I can't
> > connect to db, although I use the same db name and password as on
> > http://phpmyadmin.tuxfamily.org where I can connect to db.
> > 
> > I did not change the default db user name = root
> > 
> > I get the message
> > 
> > DB connection error: Can't connect to local MySQL server through
> > socket '/var/run/mysqld/mysqld.sock' (2) (localhost).
> > 
> > so what can I do ?
> 
> Try 127.0.0.1 for the DB host instead of localhost. MySQL treats you
> as a different user depending on what host you come from, so
> connecting via TCP can require a different password to connecting via
> the UNIX socket.
> 
> -- Tim Starling


Hallo Tim,

I already tried it, it tells me

DB connection error: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 (127.0.0.1). 

Klaus



More information about the MediaWiki-l mailing list