On Nov 12, 2004, at 10:44 PM, Matthew Trump wrote:
I've running MediaWiki on Linux with no problems,
with multiple
trouble-free installations, and am doing my first installation on Mac
OS X.
I have Mac OSX 10.3.2 and am running MySQL 4.1. I already ran into
the problem of having to set the root password the "old way" on
MySQL, which allowed me to connect to the database server (the
Mediawiki user guide was good on this point). However, it's now
failing on this (see below, note tables were created by previous
attempt). I was wondering if someone intimately familiar with the
installation script could give a suggestion about how to proceed.
I'd recommend you recompile PHP; it should then be able to link against
the updated MySQL client libraries and be able to connect more
reliably. Mac OS X 10.3 ships with 4.3.2 which is a little old anyway;
the current PHP 4 release is 4.3.9 and there are a number of bug fixes.
You can get the original PHP installation's compile-time options (and
much more) by running a script like this:
<?php phpinfo(); ?>
You may need to explicitly pass --with-mysql=/usr/local/mysql or
similar to get it to link against the MySQL 4.1 libraries if you
installed the binaries in /usr/local/mysql.
If you give the configure script --prefix=/usr/local you can avoid
overwriting the shipped PHP installation (or at least most of it); but
you should probably back up /etc/httpd and /usr/libexec/httpd first
just in case.
Also the line states wikidb exists. In fact, when I
check using the
command line client, the wikidb does not in fact exist.
Well, that's an interesting twist. In order to get as far as it does,
it would have had to test for the existence of various tables and
fields in tables in the database... so you have a database *somewhere*.
:)
Can you confirm that you don't have two different MySQL daemons running
on the machine somehow, with different connection sockets?
-- brion vibber (brion @
pobox.com)