Hello, new around here, so if I'm posting to the wrong place, sorry.
How hard do you think it would be to get mediawiki to work with mysql 5
on a BSD 5 system? I tried to install it but did not get very far, any
help that can be provided would be great. I don't know PHP (actually,
I have been looking for an excuse to learn), but I was able to track my
issue down to this block of code in the file :
/usr/local/www/data-dist/mediawiki/maintenance/convertLinks.inc
print "here a\n";
$res = wfQuery( "SELECT l_from FROM links LIMIT 1", DB_READ );
if ( mysql_field_type( $res, 0 ) == "int" ) {
print "Schema already converted\n";
return;
}
print "here b\n";
the print here statements are mine. The output is as follows.
# PHP 5.0.3: the MonoBook skin will be disabled due to an
incompatibility between the PHPTAL template library and PHP 5. The wiki
should function normally, but with the older look and feel.
# PHP server API is apache2handler; ok, using pretty URLs
(index.php/Page_Title)
# Have XML / Latin1-UTF-8 conversion support.
# PHP's memory_limit is 8M. If this is too low, installation may fail!
Attempting to raise limit to 20M... ok.
# Have zlib support; enabling output compression.
# Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be
enabled if you enable uploads.
# Installation directory: /usr/local/www/data-dist/mediawiki
# Script URI path: /mediawiki
# Connected as root (automatic)
# Connected to database... 5.0.2-alpha; enabling MySQL 4 enhancements
# Database wikidb exists
# There are already MediaWiki tables in this database. Checking if
updates are needed...
...ipblocks is up to date.
...already have interwiki table
...indexes seem up to 20031107 standards
...have linkscc table.
...linkscc is up to date, or does not exist. Good.
...have hitcounter table.
Converting links table to ID-ID...
here a
Sorry! The wiki is experiencing some technical difficulties, and cannot
contact the database server.
Thanks in advance.
--
End of line