summaryrefslogtreecommitdiff
path: root/fml/etc/src/config.cf.ja/mysql.cf
blob: a512e6a18ca5fc8a9fcdf36ed60f494871d015b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
=head1 MySQL ����


#
# ����: ���� ^=head ��̾�����֤ϥꥻ�åȤ����
#
# [Example]
# create table ml (
# 	fml_ml        char(64),
# 	fml_address   char(64),
# 	fml_member    int,
# 	fml_recipient int
# );


[mysql:fml]


# Descriptions:
#      History:
#        Value: HOSTNAME
#     Examples:
sql_servers	=	localhost


# Descriptions:
#      History:
#        Value: USER
#     Examples:
sql_user	=	fml


# Descriptions:
#      History:
#        Value: PASSWORD
#     Examples:
sql_password	=	uja


# Descriptions:
#      History:
#        Value: SQL_DATABASE
#     Examples:
sql_database	=	fml


# Descriptions:
#      History:
#        Value: SQL_TABLE
#     Examples:
sql_table	=	ml


# Descriptions: ����: �ƹԤ���Ф��ΤǤϤʤ�
#		�Ȥꤢ�������Ƽ���������å��夹�륯����
#      History:
#        Value: SQL_QUERY_STATEMENT
#     Examples:
sql_query_get_next_key =	select fml_address from $sql_table
				where fml_ml = '$ml_name'
					and
				fml_domain = '$ml_domain'


# Descriptions: ����: �ƹԤ���Ф��ΤǤϤʤ�
#		�Ȥꤢ�������Ƽ���������å��夹�륯����
#      History:
#        Value: SQL_QUERY_STATEMENT
#     Examples:
sql_query_getline	=	select fml_address from $sql_table
				where fml_ml = '$ml_name'
					and
				fml_domain = '$ml_domain'


# Descriptions:
#      History:
#        Value: SQL_QUERY_STATEMENT
#     Examples:
sql_query_add	=	insert into $sql_table
			values ('$ml_name', '$ml_domain', '&address', 1, 1)


# Descriptions:
#      History:
#        Value: SQL_QUERY_STATEMENT
#     Examples:
sql_query_delete	=	delete from $sql_table
				where	fml_ml = '$ml_name'
					and
				fml_domain = '$ml_domain'
					and
				fml_address = '&address'


# Descriptions: ����: �ƹԤ���Ф��ΤǤϤʤ�
#		�Ȥꤢ�������Ƽ���������å��夹�륯����
#      History:
#        Value: SQL_QUERY_STATEMENT
#     Examples:
sql_query_find		=	select fml_address from $sql_table
				where	fml_ml = '$ml_name'
					and
				fml_domain = '$ml_domain'
					and
				fml_address like '%&regexp%'