I've tried installing mediawiki 1.4.7 multiple times already with
different settings; can anyone advise me on getting this working (or is
Mediawiki 1.5 coming soon without these issues?
(Q) Is it possible that php 5.0.4's default is to use the new 4.1 mysql
passwords?
... in which case forcing mysql to use the old passwords is a problem?
Context:
OS: Fedora Core 4 x68_64
mysql -V: mysql Ver 14.7 Distrib 4.1.11, for redhat-linux-gnu (x86_64)
yum info php: Installed Packages: Name: php; Arch; x86_64; Version: 5.0.4;
Release: 10.3
TurckMMcache installed & detected by mediawiki/config/config/index.php
webform and
memcached 1.1.12 running
On first try, using memcached, the configuration seemed to be successful,
told me to go to
http://localhost/wiki/index.php
which states only:
: Sorry! The wiki is experiencing some technical difficulties, and cannot
contact the database server.
I don't understand since I can log into mysql by
mysql -u wikiuser -p
---- An attempted dead end: ----
Moving the file LocalSettings.php and re-attempting the config webform
with any choice of caching gives six copies of :
Warning: array_key_exists() [function.array-key-exists]: The second
argument should be either an array or an object in
/var/www/html/mediawiki-1.4.7/includes/User.php on line 716
and other complaints which I assume have to do with attempting to create
already created databases and/or users.
--------------------------------
Reinstallation experiments showed that provided the wikiuser and wikidb
were dropped first,
the configuration program was successfully able to login and create wikidb
and authorize the wikiuser.
so I deleted the wiki directory, in mysql deleted wikiuser and wikidb, and
reinstalled without caching.
Result: a blank wiki/index.php: <html><body></body></html>.
(Q) is this consistent with the same issue?
I was advised to see the release-notes on mysql 4.1 which directed me to
http://dev.mysql.com/doc/mysql/en/old-client.html
and so I've used mysql command
SET PASSWORD FOR 'some_user'@'some_host' =
OLD_PASSWORD('newpwd');
on all three wikiuser accounts.
I checked that /etc/my.cnf seems to be set to use old mysql passwds:
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
and so it turns out that OLD_PASSWORD('foo') = PASSWORD('foo') anyway!
Refreshed /wiki/index.php: got blank
page:<html><body></body></html>.
Restarted mysql, Refresh /wiki/index.php: got blank
page:<html><body></body></html>.
Any advice? Is there more I need to do to convince 4.1 to play nicely?