r207 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r206‎ | r207 | r208 >
Date:06:05, 26 February 2002
Author:axelboldt
Status:old
Tags:
Comment:
Mention that timezones of php and mysql must agree.
Modified paths:
  • /trunk/phpwiki/fpw/README (modified) (history)

Diff [purge]

Index: trunk/phpwiki/fpw/README
@@ -67,10 +67,18 @@
6868 mysql> source wikipedia.sql;
6969 in order to create the tables needed.
7070
 71+The mysql server needs to use the same timezone as php, or else you
 72+will later get bogus edit conflicts. Do:
 73+ $ mysql -u wikiuser
 74+ mysql> select now();
 75+If the output is different from your current local time, you should
 76+start mysqld with the --timezone command line option, or set your TZ
 77+environment variable.
 78+
7179 You then need to edit the file wikiLocalSettings.php. Add lines like
7280 this:
7381
74 -$wikiThisDBserver = "127.0.0.1"; # the address of the computer running mysqld
 82+$wikiThisDBserver = "127.0.0.1"; # the IP address of the computer running mysqld
7583 $wikiSQLServer = "wikidb"; # the mysql database used for Wikipedia
7684 $wikiThisDBuser = "wikiuser"; # the mysql user
7785 $wikiThisDBpassword = "xxx"; # mysql password

Status & tagging log