On 22/12/11 21:17, Klaus Becker wrote:
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
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
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).
MediaWiki-l mailing list