Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted
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

Posted

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 = "";

Posted
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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...