source: src/main/java/weka/experiment/DatabaseUtils.props.mysql @ 27

Last change on this file since 27 was 4, checked in by gnappo, 14 years ago

Import di weka.

File size: 4.2 KB
RevLine 
[4]1# Database settings for MySQL 3.23.x, 4.x
2#
3# General information on database access can be found here:
4# http://weka.wikispaces.com/Databases
5#
6# url:     http://www.mysql.com/
7# jdbc:    http://www.mysql.com/products/connector/j/
8# author:  Fracpete (fracpete at waikato dot ac dot nz)
9# version: $Revision: 5837 $
10
11# JDBC driver (comma-separated list)
12jdbcDriver=org.gjt.mm.mysql.Driver
13
14# database URL
15jdbcURL=jdbc:mysql://server_name:3306/database_name
16
17# specific data types
18# string, getString() = 0;    --> nominal
19# boolean, getBoolean() = 1;  --> nominal
20# double, getDouble() = 2;    --> numeric
21# byte, getByte() = 3;        --> numeric
22# short, getByte()= 4;        --> numeric
23# int, getInteger() = 5;      --> numeric
24# long, getLong() = 6;        --> numeric
25# float, getFloat() = 7;      --> numeric
26# date, getDate() = 8;        --> date
27# text, getString() = 9;      --> string
28# time, getTime() = 10;       --> date
29
30# other options
31CREATE_DOUBLE=DOUBLE
32CREATE_STRING=TEXT
33CREATE_INT=INT
34CREATE_DATE=DATETIME
35DateFormat=yyyy-MM-dd HH:mm:ss
36checkUpperCaseNames=false
37checkLowerCaseNames=false
38checkForTable=true
39
40# All the reserved keywords for this database
41# Based on the keywords listed at the following URL (2009-04-13):
42# http://dev.mysql.com/doc/mysqld-version-reference/en/mysqld-version-reference-reservedwords-5-0.html
43Keywords=\
44  ADD,\
45  ALL,\
46  ALTER,\
47  ANALYZE,\
48  AND,\
49  AS,\
50  ASC,\
51  ASENSITIVE,\
52  BEFORE,\
53  BETWEEN,\
54  BIGINT,\
55  BINARY,\
56  BLOB,\
57  BOTH,\
58  BY,\
59  CALL,\
60  CASCADE,\
61  CASE,\
62  CHANGE,\
63  CHAR,\
64  CHARACTER,\
65  CHECK,\
66  COLLATE,\
67  COLUMN,\
68  COLUMNS,\
69  CONDITION,\
70  CONNECTION,\
71  CONSTRAINT,\
72  CONTINUE,\
73  CONVERT,\
74  CREATE,\
75  CROSS,\
76  CURRENT_DATE,\
77  CURRENT_TIME,\
78  CURRENT_TIMESTAMP,\
79  CURRENT_USER,\
80  CURSOR,\
81  DATABASE,\
82  DATABASES,\
83  DAY_HOUR,\
84  DAY_MICROSECOND,\
85  DAY_MINUTE,\
86  DAY_SECOND,\
87  DEC,\
88  DECIMAL,\
89  DECLARE,\
90  DEFAULT,\
91  DELAYED,\
92  DELETE,\
93  DESC,\
94  DESCRIBE,\
95  DETERMINISTIC,\
96  DISTINCT,\
97  DISTINCTROW,\
98  DIV,\
99  DOUBLE,\
100  DROP,\
101  DUAL,\
102  EACH,\
103  ELSE,\
104  ELSEIF,\
105  ENCLOSED,\
106  ESCAPED,\
107  EXISTS,\
108  EXIT,\
109  EXPLAIN,\
110  FALSE,\
111  FETCH,\
112  FIELDS,\
113  FLOAT,\
114  FLOAT4,\
115  FLOAT8,\
116  FOR,\
117  FORCE,\
118  FOREIGN,\
119  FROM,\
120  FULLTEXT,\
121  GOTO,\
122  GRANT,\
123  GROUP,\
124  HAVING,\
125  HIGH_PRIORITY,\
126  HOUR_MICROSECOND,\
127  HOUR_MINUTE,\
128  HOUR_SECOND,\
129  IF,\
130  IGNORE,\
131  IN,\
132  INDEX,\
133  INFILE,\
134  INNER,\
135  INOUT,\
136  INSENSITIVE,\
137  INSERT,\
138  INT,\
139  INT1,\
140  INT2,\
141  INT3,\
142  INT4,\
143  INT8,\
144  INTEGER,\
145  INTERVAL,\
146  INTO,\
147  IS,\
148  ITERATE,\
149  JOIN,\
150  KEY,\
151  KEYS,\
152  KILL,\
153  LABEL,\
154  LEADING,\
155  LEAVE,\
156  LEFT,\
157  LIKE,\
158  LIMIT,\
159  LINES,\
160  LOAD,\
161  LOCALTIME,\
162  LOCALTIMESTAMP,\
163  LOCK,\
164  LONG,\
165  LONGBLOB,\
166  LONGTEXT,\
167  LOOP,\
168  LOW_PRIORITY,\
169  MATCH,\
170  MEDIUMBLOB,\
171  MEDIUMINT,\
172  MEDIUMTEXT,\
173  MIDDLEINT,\
174  MINUTE_MICROSECOND,\
175  MINUTE_SECOND,\
176  MOD,\
177  MODIFIES,\
178  NATURAL,\
179  NOT,\
180  NO_WRITE_TO_BINLOG,\
181  NULL,\
182  NUMERIC,\
183  ON,\
184  OPTIMIZE,\
185  OPTION,\
186  OPTIONALLY,\
187  OR,\
188  ORDER,\
189  OUT,\
190  OUTER,\
191  OUTFILE,\
192  PRECISION,\
193  PRIMARY,\
194  PRIVILEGES,\
195  PROCEDURE,\
196  PURGE,\
197  READ,\
198  READS,\
199  REAL,\
200  REFERENCES,\
201  REGEXP,\
202  RELEASE,\
203  RENAME,\
204  REPEAT,\
205  REPLACE,\
206  REQUIRE,\
207  RESTRICT,\
208  RETURN,\
209  REVOKE,\
210  RIGHT,\
211  RLIKE,\
212  SCHEMA,\
213  SCHEMAS,\
214  SECOND_MICROSECOND,\
215  SELECT,\
216  SENSITIVE,\
217  SEPARATOR,\
218  SET,\
219  SHOW,\
220  SMALLINT,\
221  SONAME,\
222  SPATIAL,\
223  SPECIFIC,\
224  SQL,\
225  SQLEXCEPTION,\
226  SQLSTATE,\
227  SQLWARNING,\
228  SQL_BIG_RESULT,\
229  SQL_CALC_FOUND_ROWS,\
230  SQL_SMALL_RESULT,\
231  SSL,\
232  STARTING,\
233  STRAIGHT_JOIN,\
234  TABLE,\
235  TABLES,\
236  TERMINATED,\
237  THEN,\
238  TINYBLOB,\
239  TINYINT,\
240  TINYTEXT,\
241  TO,\
242  TRAILING,\
243  TRIGGER,\
244  TRUE,\
245  UNDO,\
246  UNION,\
247  UNIQUE,\
248  UNLOCK,\
249  UNSIGNED,\
250  UPDATE,\
251  UPGRADE,\
252  USAGE,\
253  USE,\
254  USING,\
255  UTC_DATE,\
256  UTC_TIME,\
257  UTC_TIMESTAMP,\
258  VALUES,\
259  VARBINARY,\
260  VARCHAR,\
261  VARCHARACTER,\
262  VARYING,\
263  WHEN,\
264  WHERE,\
265  WHILE,\
266  WITH,\
267  WRITE,\
268  XOR,\
269  YEAR_MONTH,\
270  ZEROFILL
271
272# The character to append to attribute names to avoid exceptions due to
273# clashes between keywords and attribute names
274KeywordsMaskChar=_
275
276#flags for loading and saving instances using DatabaseLoader/Saver
277nominalToStringLimit=50
278idColumn=auto_generated_id
279
Note: See TracBrowser for help on using the repository browser.