Gentoo Archives: gentoo-user

From: Sergio Polini <sp_rm_it@×××××.it>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Mediawiki
Date: Mon, 24 Apr 2006 19:15:19
Message-Id: 200604242109.33162.sp_rm_it@yahoo.it
In Reply to: Re: [gentoo-user] Mediawiki by Ric de France
1 Ric de France:
2 > Hi Sergio,
3 >
4 > On 4/22/06, Sergio Polini <sp_rm_it@×××××.it> wrote:
5 > > Then I got the error "Sorry! The wiki is experiencing some
6 > > technical difficulties, and cannot contact the database server".
7 > > As far I can understand, this happens because of the new password
8 > > algorithm in mysql 4.1+, so I've remerged dev-lang/php with the
9 > > "mysqli" flag, but I still get the same error.
10 >
11 > From what I remember, I think I got something similar to you...
12 > what I think I did was:
13 > a) Start up mysql - something like: /etc/init.d/mysql start
14 > b) Check to see if the encryption level you're using is correct -
15 > Mediawiki was written in an older version of PHP, and does not use
16 > the same authentication as the latest and greatest of mysql. In
17 > /etc/mysql/my.cnf add the line "old_passwords" to the file in the
18 > "[mysqld]" section... it seemed to make it work...
19 > c) Check:
20 > http://meta.wikimedia.org/wiki/Help:Running_MediaWiki_on_Gentoo_Lin
21 >ux - this page is a little out of date. If you use PHP5, you don't
22 > need mod_php (well I didn't)...
23
24 Thanks! As soon as possibile, I'll give Mediawiki another try ;-)
25
26 Sergio
27
28
29 --
30 gentoo-user@g.o mailing list