Hello, I tried to install Mediawiki together with MySQL (even if I want to port Mediawiki to PostgreSQL). I took the MySQL-4.0.18, apache-1.3.28 and php-4.2.3 source. For Mediawiki installation I took the index.php script in the wiki/config/ directory (web-based installation). This all went well until the first start of the index.php script in the main directory. Here I have now some problems with connecting to the database. The following message occurs, when I load the index.php file: ************Start error message *********************** Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /raid00/httpd/htdocs/mediawiki/includes/Database.php on line 196
Warning: Cannot add header information - headers already sent by (output started at /raid00/httpd/htdocs/mediawiki/includes/Database.php:196) in / raid00/httpd/htdocs/mediawiki/includes/Database.php on line 415
Warning: Cannot add header information - headers already sent by (output started at /raid00/httpd/htdocs/mediawiki/includes/Database.php:196) in / raid00/httpd/htdocs/mediawiki/includes/Database.php on line 450
Warning: Cannot add header information - headers already sent by (output started at /raid00/httpd/htdocs/mediawiki/includes/Database.php:196) in / raid00/httpd/htdocs/mediawiki/includes/Database.php on line 451 Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server. *************End Error Message****************
Has anyone an idea, what the problem for this Error-Messages could be? I wouldn's spent to much time in finding problems with MySQL. My goal is to come up with Postgres as fast as possible...... Best regards, Bernhard
Am Samstag, 27. März 2004 21:01 schrieb Ivan Krstic:
Hi Bernhard,
it's very arguable what exactly is meant by "more professional". Generally speaking, speed is MySQL's forte, and is also what MediaWiki has a great need for (particularly with Wikipedia). The magazine articles you've read were probably referring to some of the more "enterprise" features (MySQL for a long time did not support transactions, and replication was dubious at best) which MediaWiki doesn't really need. I don't personally think there is much benefit in letting the code use Postgres, but if you're willing to put in the effort - hey, great, send a patch.
As for the MediaWiki table structure, while I'm sure we can help with problems you might encounter, it might be easier for you to install, temporarily, MySQL on one of your machines. MySQL binaries are available for a slew of operating systems and architectures, so it shouldn't take very long.
Cheers, Ivan
Bernhard.Naegele@t-online.de 03/27/04 12:02 PM >>>
[...] In every article about Open Databases I read, that Postgres is a more professional database than MySQL, so I wonder that there is no interrest in suporting also Postgresql, or is there also interrest?
However, I have a running Postgres database and I want to run also a Wiki Wiki. The question for me is now if I should take PHPWiki which has Postgres support or if I should spend some time in enhancing MediaWiki. At the moment, it seams that MediaWiki has more interesting features than PHPWiki....... So my first question: Was there a demand for Postgres in the past? Second: Is there anyone who can suport me if I have some question about MySQL (table-structure of MediaWiki) support of MediaWiki? I don't want to install also MySQL on some of my computers...... Best regards, Bernhard
Wikitech-l mailing list Wikitech-l@Wikipedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@Wikipedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l