Problems Installing Mediawiki

windows

Guest
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.)<br /><br />Thanks!<br />Rick<br /><br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->...<br />Generating configuration file...<br /><br />Database type: mysql <br />Attempting to connect to database server as ***_rjones...success. <br />Connected to 4.1.21-standard <br />Error selecting database wikidb: 1044 Access denied for user '***_rjones'@'localhost' to database 'wikidb'<!--QuoteEnd--></div><!--QuoteEEnd--><!--content-->
Did you create the database? Did you create a user? Did you add the user to the database? <br /><br />host = localhost;<br />dbname = cpanelname_database-name<br />dbuser = cpanelname_user-you-added-to-database<br />password = password you created for the user<!--content-->
<!--quoteo(post=203812:date=Apr 6 2007, 06:47 PM:name=TCH-Bruce)--><div class='quotetop'>QUOTE(TCH-Bruce @ Apr 6 2007, 06:47 PM) <a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=203812"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><div class='quotemain'><!--quotec-->Did you create the database? Did you create a user? Did you add the user to the database? <br /><br />host = localhost;<br />dbname = cpanelname_database-name<br />dbuser = cpanelname_user-you-added-to-database<br />password = password you created for the user<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />Yes I created the database<br />Yes I created a user<br />Yes I added the user to the database<br /><br />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.<!--content-->
change dbname in config to :<br /><br /> ***_wikidb<!--content-->
Thanks Charlie...<br /><br />That did it - Successful Install!<!--content-->
Welcome to the forum, Rick. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />I have replaced your cpanelusername with *** in the post.<br />Please do not not post user sensitive data in the forum. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
<!--quoteo(post=203834:date=Apr 7 2007, 04:32 AM:name=TCH-Thomas)--><div class='quotetop'>QUOTE(TCH-Thomas @ Apr 7 2007, 04:32 AM) <a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=203834"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><div class='quotemain'><!--quotec-->Welcome to the forum, Rick. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />I have replaced your cpanelusername with *** in the post.<br />Please do not not post user sensitive data in the forum. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--QuoteEnd--></div><!--QuoteEEnd--><br /><br /><br />If you will read the post closely you will notice that I already did that and stated so.<!--content-->
Welcome to the forum Rick <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />When I posted this:<br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->host = localhost;<br />dbname = <b>cpanelname_database-name</b><br />dbuser = cpanelname_user-you-added-to-database<br />password = password you created for the user<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />I guess I should have bolded the database name.<!--content-->
no, you need to tell them exactly what they need to do.<!--content-->
Welcome to the forum Rick <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
Hi Rick,<br /><br />Why I replaced the posted cpanel username with *** was for security reasons only.<br /><br />You posted a cpanel username that to me looked like it could very well be real since they are automatically generated.<br /><br />Even if it wasn纾
 
Back
Top