Page MenuHomePhabricator

Installation says its successful but LocalSetting.php file not exists
Closed, InvalidPublic

Description

Author: Betlista

Description:
I installed Mediawiki 1.9.3 with no probles, after installation
LocalSettings.php was not created.

Message after installation:

  • PHP 5.2.1-pl3-gentoo installed
  • Found database drivers for: MySQL PostgreSQL
  • PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
  • Have XML / Latin1-UTF-8 conversion support.
  • PHP's memory_limit is 128M. If this is too low, installation may fail!
  • Have zlib support; enabling output compression.
  • Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions

cannot be used.

  • Found GNU diff3: /usr/bin/diff3.
  • Found GD graphics library built-in, image thumbnailing will be enabled if

you enable uploads.

  • Installation directory: /home/appoge/WWW/wiki.appoge.net/wiki
  • Script URI path: /wiki
  • Environment checked. You can install MediaWiki. *

    Generating configuration file...
  • Database type: MySQL
  • Loading class: DatabaseMysql
  • Attempting to connect to database server as wikiuser...success.
  • Connected to 5.0.38-debug
  • Database wikidb exists
  • Creating tables... using MySQL 4 table defs...Query "CREATE TABLE

wiki_user ( user_id int(5) unsigned NOT NULL auto_increment, user_name
varchar(255) binary NOT NULL default '', user_real_name varchar(255) binary NOT
NULL default '', user_password tinyblob NOT NULL, user_newpassword tinyblob NOT
NULL, user_newpass_time char(14) binary, user_email tinytext NOT NULL,
user_options blob NOT NULL, user_touched char(14) binary NOT NULL default '',
user_token char(32) binary NOT NULL default '', user_email_authenticated
char(14) binary, user_email_token char(32) binary, user_email_token_expires
char(14) binary, user_registration char(14) binary, user_editcount int, PRIMARY
KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX
(user_email_token) ) TYPE=InnoDB " failed with error code "CREATE command denied
to user 'wikiuser'@'localhost' for table 'wiki_user'
(:/home/appoge/WWW/mysql/test-appoge-net.sock)".


Version: 1.9.x
Severity: blocker
OS: Linux
Platform: PC
URL: http://wiki.appoge.net/wiki

Details

Reference
bz9761

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 21 2014, 9:37 PM
bzimport added a project: MediaWiki-Installer.
bzimport set Reference to bz9761.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.May 2 2007, 9:45 AM

anaconda wrote:

I wouldn't say "no problems". I see a SQL error during the installation. Create the database manually, grant
rights to your database user and retry.

Betlista wrote:

sorry, i didn't saw it before

Betlista wrote:

This grant resolved my problem:

GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON wikidb.* to 'wikiuser'@localhost

identified by 'password'