* [gentoo-user] Mediawiki
@ 2006-04-21 23:28 Sergio Polini
2006-04-24 4:53 ` Ric de France
0 siblings, 1 reply; 3+ messages in thread
From: Sergio Polini @ 2006-04-21 23:28 UTC (permalink / raw
To: gentoo-user
I can't install Mediawiki 1.4.15.
I've installed:
a) apache 2.0.55-r1
b) dev-lang/php 5.1.2 (current flags in /etc/portage/package.use: dba
gd -gd-external pcre mysql mysqli session)
c) mysql 4.1.14-r1
I got the error "Specified key was too long; max key length is 1000
bytes" when creating the categorylinks table, so I've esecuted
"ALTER DATABASE wikidb DEFAULT CHARACTER SET latin1 COLLATE
latin1_general_ci".
Then I got the error "Sorry! The wiki is experiencing some technical
difficulties, and cannot contact the database server".
As far I can understand, this happens because of the new password
algorithm in mysql 4.1+, so I've remerged dev-lang/php with the
"mysqli" flag, but I still get the same error.
Does anybody know how to get mediawiki installed?
Thanks
Sergio
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Mediawiki
2006-04-21 23:28 [gentoo-user] Mediawiki Sergio Polini
@ 2006-04-24 4:53 ` Ric de France
2006-04-24 19:09 ` Sergio Polini
0 siblings, 1 reply; 3+ messages in thread
From: Ric de France @ 2006-04-24 4:53 UTC (permalink / raw
To: gentoo-user
Hi Sergio,
On 4/22/06, Sergio Polini <sp_rm_it@yahoo.it> wrote:
> Then I got the error "Sorry! The wiki is experiencing some technical
> difficulties, and cannot contact the database server".
> As far I can understand, this happens because of the new password
> algorithm in mysql 4.1+, so I've remerged dev-lang/php with the
> "mysqli" flag, but I still get the same error.
>From what I remember, I think I got something similar to you... what I
think I did was:
a) Start up mysql - something like: /etc/init.d/mysql start
b) Check to see if the encryption level you're using is correct -
Mediawiki was written in an older version of PHP, and does not use the
same authentication as the latest and greatest of mysql. In
/etc/mysql/my.cnf add the line "old_passwords" to the file in the
"[mysqld]" section... it seemed to make it work...
c) Check: http://meta.wikimedia.org/wiki/Help:Running_MediaWiki_on_Gentoo_Linux
- this page is a little out of date. If you use PHP5, you don't need
mod_php (well I didn't)...
HTH,
...Ric
--
Ric de France
Ph: +61412945554 (international) or 0412945554 (Australia)
== Do you, uh... Gentoo? Gentoooo-hooo!! ==
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Mediawiki
2006-04-24 4:53 ` Ric de France
@ 2006-04-24 19:09 ` Sergio Polini
0 siblings, 0 replies; 3+ messages in thread
From: Sergio Polini @ 2006-04-24 19:09 UTC (permalink / raw
To: gentoo-user
Ric de France:
> Hi Sergio,
>
> On 4/22/06, Sergio Polini <sp_rm_it@yahoo.it> wrote:
> > Then I got the error "Sorry! The wiki is experiencing some
> > technical difficulties, and cannot contact the database server".
> > As far I can understand, this happens because of the new password
> > algorithm in mysql 4.1+, so I've remerged dev-lang/php with the
> > "mysqli" flag, but I still get the same error.
>
> From what I remember, I think I got something similar to you...
> what I think I did was:
> a) Start up mysql - something like: /etc/init.d/mysql start
> b) Check to see if the encryption level you're using is correct -
> Mediawiki was written in an older version of PHP, and does not use
> the same authentication as the latest and greatest of mysql. In
> /etc/mysql/my.cnf add the line "old_passwords" to the file in the
> "[mysqld]" section... it seemed to make it work...
> c) Check:
> http://meta.wikimedia.org/wiki/Help:Running_MediaWiki_on_Gentoo_Lin
>ux - this page is a little out of date. If you use PHP5, you don't
> need mod_php (well I didn't)...
Thanks! As soon as possibile, I'll give Mediawiki another try ;-)
Sergio
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-04-24 19:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-21 23:28 [gentoo-user] Mediawiki Sergio Polini
2006-04-24 4:53 ` Ric de France
2006-04-24 19:09 ` Sergio Polini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox