earthquake Posted October 5, 2005 Posted October 5, 2005 G'day, I'm installing Wiki onto my server and when installing it I have a problem with it asking for the "DB root password". Thinking that there is no password (and the server is localhost) I put in no password and then it is saying "<-Enter" next to DB root password. Is there a DB root password that I need to enter in? Thanks, Martin "Earthquake" Lester International Interactive Rugby League Quote
MikeJ Posted October 5, 2005 Posted October 5, 2005 Hi Martin, Which wiki software are you trying to install? In general, what you will need to do is create a database ahead of time through your control panel as well as a userid and password for an user to have access to it, then provide that information to the installation. If the software installation is attempting to "create" this database (instead of just create the tables within a pre-created database), that won't work because you don't have root mysql access. Most software installations these days should allow you to create the database ahead of time. If you provide some information about the wiki package you are trying to install (like it is phpwiki, tikiwiki, etc...) someone with experience with it may be able to provide better information. Quote
earthquake Posted October 5, 2005 Author Posted October 5, 2005 Hi Martin, Which wiki software are you trying to install? In general, what you will need to do is create a database ahead of time through your control panel as well as a userid and password for an user to have access to it, then provide that information to the installation. If the software installation is attempting to "create" this database (instead of just create the tables within a pre-created database), that won't work because you don't have root mysql access. Most software installations these days should allow you to create the database ahead of time. If you provide some information about the wiki package you are trying to install (like it is phpwiki, tikiwiki, etc...) someone with experience with it may be able to provide better information. G'day Mike and everyone, I'm using MediaWiki 1.4.10 and have set-up a seperate database & username/password in MySQL Account Maintanance in CPanel. Thanks, Martin Quote
TCH-Andy Posted October 5, 2005 Posted October 5, 2005 Hi Martin, Welcome to the forums Just set up the LocalSettings.php to use $wgDBserver = "localhost"; $wgDBname = "cpanelusername_dbname"; $wgDBuser = "cpanelusername_dbusername"; $wgDBpassword = "dbpassword"; $wgDBprefix = ""; Quote
earthquake Posted October 5, 2005 Author Posted October 5, 2005 Hi Martin, Welcome to the forums Just set up the LocalSettings.php to use $wgDBserver = "localhost"; $wgDBname = "cpanelusername_dbname"; $wgDBuser = "cpanelusername_dbusername"; $wgDBpassword = "dbpassword"; $wgDBprefix = ""; G'day Andy, There doesn't seem to be a file called LocalSettings.php loaded in the directories online and on my PC. Where would it be? Thanks, Martin Quote
TCH-Andy Posted October 5, 2005 Posted October 5, 2005 It should be in the MediaWiki directory. It is automatically generated by the MediaWiki installer - so if the installation has failed, it may not be there. In which case, use the values I gave above when running the installer. Quote
TCH-Don Posted October 5, 2005 Posted October 5, 2005 Welcome to the forums, Martin Don't forget to add the user to the database in MySql. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.