I'm installing MediaWiki for the first time. I ran into some problems with the install in which I had to set the MySQL root account to use the old password authentication method. I seem to have fixed that problem, but now I'm running into this:
Checking environment... PHP 5.0.2: 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 apache; ok, using pretty URLs (index.php/Page_Title ) Have XML / Latin1-UTF-8 conversion support. PHP is configured with no memory_limit. No zlib support. Couldn't find GD library or ImageMagick; image thumbnailing disabled. Installation directory: /data/local/apache-dso/htdocs/wiki Script URI path: Connected as root (automatic) Connected to database... 4.1.7-standard-log; enabling MySQL 4 enhancements Created database wikidb Creating tables... done. Initializing data... Granting user permissions... Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server.
The thing that I don't understand is that the installation was able to contact the server, it actually created the database and created the user. Am I missing something obvious here? I'm not that good with MySQL. Any help that anyone can provide would be appreciated.
Thanks, Christian Lair
On Nov 12, 2004, at 9:56 AM, Christian_Lair@i2.com wrote:
I'm installing MediaWiki for the first time. I ran into some problems with the install in which I had to set the MySQL root account to use the old password authentication method. I seem to have fixed that problem, but now I'm running into this:
If you only altered the root account, the newly created user for the wiki will still be created with the new authentication method and things will immediately fail.
The correct fix is to recompile PHP against the updated MySQL 4.1 libraries. You might also be able to set the MySQL server to use the old authentication method for _all_ users all the time, but I haven't tested this.
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org