Last modified: 2006-11-29 15:41:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T7430, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5430 - Database Error on Installation
Database Error on Installation
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
unspecified
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-02 17:00 UTC by Hermann Laner
Modified: 2006-11-29 15:41 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Hermann Laner 2006-04-02 17:00:10 UTC
When I try to install the Media Wiki v1.5.1 it stops after some time ...
i get the warning: 
You are using mySQL 4.1, however, PHP is linked to older client libraries. If you encounter 
authentication problems, see http://dev.mysql.com/doc/mysql/en/old-client.html for pertinent 
solutions. 

coult this be the reason of my error?


here is the full log:

MediaWiki 1.5.8 installation
Please include all of the lines below when reporting installation problems.

Checking environment...

Warning: set_time_limit() has been disabled for security reasons 
in /home/www/wikihausfrauenklettern.awardspace.com/mediawiki/install-utils.inc on line 27

PHP 4.4.1: ok 
Warning: PHP's register_globals option is enabled. MediaWiki will work correctly, but this setting 
increases your exposure to potential security vulnerabilities in PHP-based software running on your 
server. You should disable it if you are able. 
PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title) 
Have XML / Latin1-UTF-8 conversion support. 
PHP's memory_limit is 16M. If this is too low, installation may fail! Attempting to raise limit to 
20M... ok. 
Have zlib support; enabling output compression. 
Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions 
GNU diff3 not found.
Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. 
Installation directory: /home/www/wikihausfrauenklettern.awardspace.com/mediawiki 
Script URI path: /mediawiki 
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. 
Connecting to curmetsefrog_db1 on db2.awardspace.com as curmetsefrog_db1...success. 
Connected to 4.1.18-log; using enhancements for mySQL 4.
You are using mySQL 4.1, however, PHP is linked to older client libraries. If you encounter 
authentication problems, see http://dev.mysql.com/doc/mysql/en/old-client.html for pertinent 
solutions. 
Database curmetsefrog_db1 exists 
There are already MediaWiki tables in this database. Checking if updates are needed... 
...hitcounter table already exists.
...querycache table already exists.
...objectcache table already exists.
...categorylinks table already exists.
...logging table already exists.
...validate table already exists.
...user_newtalk table already exists.
...transcache table already exists.
...trackbacks table already exists.
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...have rc_type field in recentchanges table.
...have rc_ip field in recentchanges table.
...have rc_id field in recentchanges table.
...have rc_patrolled field in recentchanges table.
...have user_real_name field in user table.
...have user_token field in user table.
...have user_email_token field in user table.
...have log_params field in logging table.
...have ar_rev_id field in archive table.
...have ar_text_id field in archive table.
...have page_len field in page table.
...have rev_deleted field in revision table.
...have img_width field in image table.
...have img_metadata field in image table.
...have img_media_type field in image table.
...have val_ip field in validate table.
...have ss_total_pages field in site_stats table.
...have iw_trans field in interwiki table.
...already have interwiki table
...indexes seem up to 20031107 standards
Already have pagelinks; skipping old links table updates.
...image primary key already set.
The watchlist table is already set up for email notification.
...watchlist talk page rows already present
...user table does not contain old email authentication field.
Logging table has correct title encoding.
...page table already exists.
revision timestamp indexes already up to 2005-03-13
...rev_text_id already in place.
...page_namespace is already a full int (int(11)).
...ar_namespace is already a full int (int(11)).
...rc_namespace is already a full int (int(11)).
...wl_namespace is already a full int (int(11)).
...qc_namespace is already a full int (int(11)).
...log_namespace is already a full int (int(11)).
...already have pagelinks table.
No img_type field in image table; Good.
Already have unique user_name index.
...user_groups table already exists.
...user_groups is in current format.
Initialising "MediaWiki" namespace...
A database error has occurred
Query: INSERT  INTO `mw_page` 
(page_id,page_namespace,page_title,page_counter,page_restrictions,page_is_redirect,page_is_new,page_
random,page_touched,page_latest,page_len) VALUES (NULL,'8','Exif-
aperturevalue','0','sysop','0','1','0.556566066477','20060402151858','0','0')
Function: Article::insertOn
Error: 1062 Duplicate entry '8-Exif-aperturevalue' for key 2 (db2.awardspace.com)

Backtrace:
GlobalFunctions.php line 450 calls wfbacktrace()
Database.php line 397 calls wfdebugdiebacktrace()
Database.php line 347 calls databasemysql::reportqueryerror()
Database.php line 937 calls databasemysql::query()
Article.php line 946 calls databasemysql::insert()
InitialiseMessages.inc line 192 calls article::inserton()
InitialiseMessages.inc line 72 calls initialisemessagesreal()
updaters.inc line 698 calls initialisemessages()
index.php line 606 calls do_all_updates()
Comment 1 Naconkantari 2006-04-13 23:48:07 UTC
Are you trying to upgrade or do a clean install?
Comment 2 Hermann Laner 2006-04-14 08:26:05 UTC
no just setting up
Comment 3 Rob Church 2006-11-29 15:41:25 UTC
If this is still a problem, then read the advice URL posted next to the error
message at the top of the installer script.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links