On 12/24/05, D B dkbyrne@gmail.com wrote:
I seem to be having a similar problem installing MediaWiki 1.5.4 on Mac OS X 10.3.9 with Mysql 5.0.17, Apache 1.3.29 and PHP-4.3.11 (as was recommended by http://meta.wikimedia.org/wiki/Running_MediaWiki_on_Mac_OS_X).
I can't seem to resolve the "You are using MySQL 4.1 server, but PHP is linked to old client libraries" error message:
[snip]
I've tried using the information provided via the link to http://dev.mysql.com/doc/mysql/en/old-client.html, but without avail. A link on that page directs me to http://www.php.net/mysqli. The only way I could think to use this info was to try at the terminal:
[snip]
That part of the MySQL documentation is not really correct. PHP's mysql extension *does* support the new authentication, *if* it has been compiled using the newer MySQL libraries. (MediaWiki does not support the mysqli extension, only the standard mysql extension, at this time.)
If you are reasonably familiar with installing Unix programs from source and have the developer tools installed, you can recompile PHP from source code, passing --with-mysql=/usr/local/mysql to have it use the libraries from the MySQL.
If that sounds complicated, you should probably first try the configuration options mentioned in the earlier paragraphs of http://dev.mysql.com/doc/refman/5.0/en/old-client.html
-- brion vibber (brion @ pobox.com)