summaryrefslogtreecommitdiff
path: root/misc/open2300-mysql
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-11-10 10:38:18 +0000
committerwiz <wiz@pkgsrc.org>2004-11-10 10:38:18 +0000
commitd9dd180b54175b8c74f2742117ac3490c5f6cb0b (patch)
tree2989f107a58958b8d2c536122e06c8896a808756 /misc/open2300-mysql
parentc51e11110edd8bf60f471f71d457426284e10aef (diff)
downloadpkgsrc-d9dd180b54175b8c74f2742117ac3490c5f6cb0b.tar.gz
Standardize MESSAGE a bit.
Diffstat (limited to 'misc/open2300-mysql')
-rw-r--r--misc/open2300-mysql/MESSAGE25
1 files changed, 15 insertions, 10 deletions
diff --git a/misc/open2300-mysql/MESSAGE b/misc/open2300-mysql/MESSAGE
index 0c798d79e36..845e6032a17 100644
--- a/misc/open2300-mysql/MESSAGE
+++ b/misc/open2300-mysql/MESSAGE
@@ -1,9 +1,12 @@
-Before you can use this program, you need to configure the MySQL connection
-in the open2300.conf file. The mysql user used by the program only needs
-"insert" priviledges.
+===========================================================================
+$NetBSD: MESSAGE,v 1.2 2004/11/10 10:38:18 wiz Exp $
-You need to creat a table 'weather' in the configured database. The program
-code suggests the following table structure:
+Before you can use this program, you need to configure the MySQL
+connection in the open2300.conf file. The mysql user used by the
+program only needs "insert" priviledges.
+
+You need to creat a table 'weather' in the configured database.
+The program code suggests the following table structure:
CREATE TABLE `weather` (
`timestamp` bigint(14) NOT NULL default '0',
@@ -27,9 +30,9 @@ code suggests the following table structure:
UNIQUE KEY `timestamp` (`timestamp`)
) TYPE=MyISAM;
-Not that the actual field names are not used, but the structure needs to be
-compatible. This alternative structure (for newer MySQL versions) works as
-well:
+Not that the actual field names are not used, but the structure
+needs to be compatible. This alternative structure (for newer MySQL
+versions) works as well:
CREATE TABLE `weather` (
`id` datetime NOT NULL default '0000-00-00 00:00:00',
@@ -55,5 +58,7 @@ well:
ENGINE=MyISAM DEFAULT CHARSET=latin1
COMMENT='Weather as reported by WS 2300';
-The program will not output anything, unless errors occur. This makes it easy
-to use it in cron jobs.
+The program will not output anything, unless errors occur. This
+makes it easy to use it in cron jobs.
+
+===========================================================================