Errors after MySQL 5.0 upgrade

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Errors after MySQL 5.0 upgrade

raindog308
I was running MediaWiki 1.4.4 on MySQL 4.1.  When I upgraded MySQL to 5.0,
any attempt to use the Wiki resulted in this error:

Fatal error: Call to a member function on a non-object in /data/www/localhost/htdocs/wiki/includes/ObjectCache.php on line 409

I tried deleting the rows in the objectcache and querycache tables, with no
luck.

I thought I'd try to upgrade to 1.5.6.  No luck - different error:


MediaWiki 1.5.6 installation

Please include all of the lines below when reporting installation problems.
Checking environment...

    * PHP 4.4.0-gentoo-r1: ok
    * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
    * Have XML / Latin1-UTF-8 conversion support.
    * PHP is configured with no memory_limit.
    * Have zlib support; enabling output compression.
    * Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions
    * Found GNU diff3: /usr/bin/diff3.
    * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.
    * Found GD graphics library built-in.
    * Installation directory: /data/www/localhost/htdocs/wiki
    * Script URI path: /wiki
    * Connecting to wikidb on localhost as root...success.
    * Connected to 5.0.18; using enhancements for mySQL 4.
    * Database wikidb exists
    * There are already MediaWiki tables in this database. Checking if updates are needed...
    * Granting user permissions...
      Query "GRANT DELETE,INSERT,SELECT,UPDATE ON `wikidb`.* TO 'wikiuser'@'%' IDENTIFIED BY 'mypassword'" failed with error code "Can't find any matching row in the user table".

Any suggestions???

Thanks,



andrew fabbro                                            [[hidden email]]
------------------------------[ quote-o-matic] -----------------------------
Zen: Minus one degrees of separation.

_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Errors after MySQL 5.0 upgrade

Brion Vibber
andrew fabbro wrote:
> I was running MediaWiki 1.4.4 on MySQL 4.1.  When I upgraded MySQL to 5.0,
> any attempt to use the Wiki resulted in this error:
>
> Fatal error: Call to a member function on a non-object in /data/www/localhost/htdocs/wiki/includes/ObjectCache.php on line 409

MediaWiki is unable to contact the database server. Perhaps you didn't carry
over your MySQL users in your upgrade?

>     * Granting user permissions...
>       Query "GRANT DELETE,INSERT,SELECT,UPDATE ON `wikidb`.* TO 'wikiuser'@'%' IDENTIFIED BY 'mypassword'" failed with error code "Can't find any matching row in the user table".

Well that's darn suspicious.

-- brion vibber (brion @ pobox.com)


_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

signature.asc (257 bytes) Download Attachment