Installation issue

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

Installation issue

Will Knapp
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@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

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

Re: Installation issue

Rob Church
On 16/05/06, Will Knapp <[hidden email]> wrote:

> 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@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");

>From what I know of cPanel...

a. Include the username prefix as part of the database name, i.e. the
database is called stagecra_wikidb

b. Include the username prefix as part of the database username, i.e.
the username is stagecra_wiki.


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