Difference between revisions of "PKC MediaWiki configuration data"

From PKC
Jump to navigation Jump to search
(Created page with "The configuration file should have the following entries: <syntaxhighlight lang=php> ## Database settings $wgDBtype = "mysql"; $wgDBserver = "database"; $wgDBname = "my_wiki";...")
 
Line 8: Line 8:
$wgDBpassword = "example";
$wgDBpassword = "example";
</syntaxhighlight>
</syntaxhighlight>
Note that the value for <code>$wgDBserver</code> is often suggested to be <code>localhost</code>, and in the <code>docker-compose.yml</code> file for [[PKC]], it is set to be <code>database</code> already.

Revision as of 03:10, 18 August 2021

The configuration file should have the following entries:

## Database settings
$wgDBtype = "mysql";
$wgDBserver = "database";
$wgDBname = "my_wiki";
$wgDBuser = "wikiuser";
$wgDBpassword = "example";

Note that the value for $wgDBserver is often suggested to be localhost, and in the docker-compose.yml file for PKC, it is set to be database already.