Jump to content
rkoelz

Problems Installing Mediawiki

Recommended Posts

I'm trying to install MediaWiki (version 1.6.7 because TCH isn't running PHP 5) and I'm getting the following error during setup. Any help or ideas would be appreciated. (I've modified the name in the error message for security reasons.)

 

Thanks!

Rick

 

...

Generating configuration file...

 

Database type: mysql

Attempting to connect to database server as ***_rjones...success.

Connected to 4.1.21-standard

Error selecting database wikidb: 1044 Access denied for user '***_rjones'@'localhost' to database 'wikidb'

Share this post


Link to post
Share on other sites

Did you create the database? Did you create a user? Did you add the user to the database?

 

host = localhost;

dbname = cpanelname_database-name

dbuser = cpanelname_user-you-added-to-database

password = password you created for the user

Share this post


Link to post
Share on other sites
Did you create the database? Did you create a user? Did you add the user to the database?

 

host = localhost;

dbname = cpanelname_database-name

dbuser = cpanelname_user-you-added-to-database

password = password you created for the user

 

Yes I created the database

Yes I created a user

Yes I added the user to the database

 

In the error message you can see that set up was able to connect to the database successfully, but 2 lines further down it wasn't able to select the database.

Share this post


Link to post
Share on other sites

Welcome to the forum, Rick. :)

 

I have replaced your cpanelusername with *** in the post.

Please do not not post user sensitive data in the forum. :)

Share this post


Link to post
Share on other sites
Welcome to the forum, Rick. :)

 

I have replaced your cpanelusername with *** in the post.

Please do not not post user sensitive data in the forum. :)

 

 

If you will read the post closely you will notice that I already did that and stated so.

Share this post


Link to post
Share on other sites

Welcome to the forum Rick :)

 

When I posted this:

host = localhost;

dbname = cpanelname_database-name

dbuser = cpanelname_user-you-added-to-database

password = password you created for the user

 

I guess I should have bolded the database name.

Share this post


Link to post
Share on other sites

Hi Rick,

 

Why I replaced the posted cpanel username with *** was for security reasons only.

 

You posted a cpanel username that to me looked like it could very well be real since they are automatically generated.

 

Even if it wasn´t your cpanel username it could very well have been someone else and no one would want it on it´s conscience that an account was hacked because user sensitive data was publically published.

If you wanna discuss this further, please feel free to pm me. :)

 

So to everyone who reads this in the future and are in need to post scripts or info, here in the forum, where sensitive info are included, do us all a favor, replace it with ***.

 

Since the original problem have been solved and there are nothing more to discuss about this, I am closing this thread.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...