[Mediawiki-l] Installation issue

Will Knapp will at thebase.com
Tue May 16 05:08:55 UTC 2006


Hi,

I'm having an installation issue.

I'm getting the following message after configuration:

>>>
. PHP 4.4.2 installed
. Warning: PHP's register_globals option is enabled. Disable it if you can. 
MediaWiki will work, but your server is more exposed to PHP-based security
vulnerabilities. 
. 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.
. 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/stagecra/public_html/wiki
. Script URI path: /wiki
. Environment checked. You can install MediaWiki.
. Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider
changing it manually.
Generating configuration file...
. Database type: mysql
. Attempting to connect to database server as stagecra...success.
. Connected to 4.1.13-standard
o Error selecting database wikidb: 1044 Access denied for user
'stagecra'@'localhost' to database 'wikidb'
<<<

So this looks like there is a problem with this user stagecra at localhost,
however it has connected to the database as stagecra already. Stagecra is a
user for wikidb for sure. Here is what my c-panel says about wikidb:

>>>
stagecra_wikidb 
Users in wikidb
stagecra_ (Privileges: ALL PRIVILEGES) 
Connection Strings
Perl
$dbh =
DBI->connect("DBI:mysql:stagecra_wikidb:localhost","stagecra_","<PASSWORD
HERE>");
PHP
$dbh=mysql_connect ("localhost", "stagecra_", "<PASSWORD HERE>") or die ('I
cannot connect to the database because: ' . mysql_error());
mysql_select_db ("stagecra_wikidb"); 
stagecra_wiki (Privileges: ALL PRIVILEGES) 
Connection Strings
Perl
$dbh =
DBI->connect("DBI:mysql:stagecra_wikidb:localhost","stagecra_wiki","<PASSWOR
D HERE>");
PHP
$dbh=mysql_connect ("localhost", "stagecra_wiki", "<PASSWORD HERE>") or die
('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("stagecra_wikidb");
<<<

It seems like it's ready to roll apart from this user problem. I have
another web based database program working on this server with another
database. No problem there, it is in perl though.

Thanks for any help.

Will Knapp




More information about the MediaWiki-l mailing list