Try connecting with the CLI MySQL client? Are you sure the server's even
running at all?

-Jeremy
On Dec 22, 2011 7:58 AM, "Klaus Becker" <[email protected]> wrote:

> 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
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to