Hi list, I am trying to install mediawiki-1.6.5 on Solaris 9 sparc, please see the log from Mediawiki below:
Please include all of the lines below when reporting installation problems.
PHP 5.0.4 installed 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. No zlib support. Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions GNU diff3 not found. Couldn't find GD library or ImageMagick; image thumbnailing disabled. Installation directory: /thirdparty/local/apache2/htdocs/wiki Script URI path: /wiki Environment checked. You can install MediaWiki.Generating configuration file...
Database type: mysql PHP is linked with old MySQL client libraries. If you are using a MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. Attempting to connect to database server as ...success. Connected to 5.1.9-beta; You are using MySQL 4.1 server, but PHP is linked to old client libraries; if you have trouble with authentication, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. Error selecting database wikidb: 1044 Access denied for user ''@'aegdevd001' to database 'wikidb'
I am getting the following error: Error selecting database wikidb: 1044 Access denied for user ''@'aegdevd001' to database 'wikidb'
I gave all the privileges to wiki user on wikidb database: mysql> show grants for 'wiki'@'localhost'; +-------------------------------------------------------------------------------------------------------------+ | Grants for wiki@localhost | +-------------------------------------------------------------------------------------------------------------+ | GRANT USAGE ON *.* TO 'wiki'@'localhost' IDENTIFIED BY PASSWORD '*A5DB2D927D6DF94DA5E1CE4B293AEAAB4D8304EA' | | GRANT SELECT, INSERT, UPDATE, DELETE, LOCK TABLES ON `wiki`.* TO 'wiki'@'localhost' | | GRANT ALL PRIVILEGES ON `wikidb`.* TO 'wiki'@'localhost' | | GRANT ALL PRIVILEGES ON `wikidb`.`wikidb` TO 'wiki'@'localhost'
I am not understanding why the Mediawiki installation is failing, please help.
Thanks in advance Raj |
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Hello,
Robert wrote: <snip>
PHP 5.0.4 installed
<snip>
Database type: mysql PHP is linked with old MySQL client libraries. If you are using a MySQL 4.1 server and have problems connecting to the database, see: http://dev.mysql.com/doc/mysql/en/old-client.html for help.
So you are using PHP 5.0.4 and its linked to mysql3 / mysql4.0 library.
I would firstly read the given URL that will give you some tips. The ways to solve the issue:
1/ start mysql 5 with the old-password option (that can be done in my.cnf or from the commandline). This way, mysql well understand the password encrypted using your old mysql library.
2/ recompile the mysql PHP extension using mysql 5 library.
On my machine I got:
$ ldd /usr/lib/php5/20051025/mysql.so | grep mysql libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0xb7dc3000) $
I think you want it to be >= .15 :)
cheers,
mediawiki-l@lists.wikimedia.org