Hi,
This is my first time posting so please bear with me (if this isn't the right email list to post to, please direct me to the correct one). I just want to say that I'm a big fan of Wikipedia and I think the developers of MediaWiki did an amazing job.
I have recently been trying to set up MediaWiki on my website but so far have been unsuccessful. I got to the configuration screen and filled out the required information about users and my database. Afterwards, it told me that "LocalSettings.php" and that I should move it to the parent directory. However, when I checked "LocalSettings.php" there was no text in it (0KB size). However, I still moved it to the parent directory and then tried to run the wiki.
Instead of the main screen, I received an error that it could not log into my database with root@localhost (which isn't what I specified). So my hunch is that the installation didn't create "LocalSettings.php" properly.
Thank you very much for reading this.
Cheers,
Kevin Li 2A Systems Design Engineering University of Waterloo
On Sunday 24 October 2004 05:12, Kevin Li wrote:
Hi,
Welcome!
(0KB size)
Please ensure you have writing permissions in the wiki directory.
In a Unix system, do this:
(first login as root) cd my-wiki-directory <ENTER> chmod a+w config <ENTER>
Thank you for your help. But unfortunately, I had already set the permissions on the config directory. Basically everything went fine, and it said that the installation had been completed (it made new tables in the database). It's just that when I got to the main page, wiki tries to access my database with root@localhost (I specified something totally different during my setup). So I guess my question is, after the installation, the file "LocalSettings.php" should contain some information right?
Thank you once again.
Cheers,
Kevin Li 2A Systems Design Engineering University of Waterloo
NSK wrote:
On Sunday 24 October 2004 05:12, Kevin Li wrote:
Hi,
Welcome!
(0KB size)
Please ensure you have writing permissions in the wiki directory.
In a Unix system, do this:
(first login as root) cd my-wiki-directory <ENTER> chmod a+w config <ENTER>
On Sunday 24 October 2004 16:42, Kevin Li wrote:
access my database with root@localhost
In the wiki installation form you need to specify a new username and new userpassword to be created for MySQL as well as your already existing MySQL root password.
MediaWiki will login in your MySQL server (which can be localhost) as root with the root password you supplied and create a new MySQL user. After the creation of the tables, MW will access the database with the wiki MySQL user.
"LocalSettings.php" should contain some information right?
LocalSettings.php should contain lots of information, which will be a subset of the information contained in the ./includes/DefaultSettings.php file.
If it continues to fail writing the LocalSettings.php, you can manually copy and paste the DefaultSetting.php in LocalSettings.php and store the LocalSetting.php in the main wiki directory (not in ./config or ./includes). After you do that, you will need to customise these settings by hand by using a text editor like pico, vi, Kate or Notepad.
What OS are you running under and which MediaWiki do you use?
wikitech-l@lists.wikimedia.org