MySQL

/.module.json (1.4 KB)

 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
{
"name": "MySQL",
"icon": "database",
"description": "Provides an API for accessing MySQL databases",
"authorName": "Kyle U",
"authorEmail": "kyle@kyleu.com",
"license": "CC0",
"sourcecode": "https://github.com/kyleu/projectforge/tree/master/module/mysql",
"configVars": [
{
"key": "db_host",
"type": "string",
"description": "hostname for the default MySQL connection, defaults to `localhost`"
},
{
"key": "db_port",
"type": "int",
"description": "port for the default MySQL connection, defaults to `3306`"
},
{
"key": "db_user",
"type": "string",
"description": "user for the default MySQL connection"
},
{
"key": "db_password",
"type": "string",
"description": "password for the default MySQL connection"
},
{
"key": "db_database",
"type": "string",
"description": "database for the default MySQL connection"
},
{
"key": "db_schema",
"type": "string",
"description": "schema for the default MySQL connection"
},
{
"key": "max_connections",
"type": "int",
"description": "max connection count for the default MySQL connection"
},
{
"key": "db_debug",
"type": "bool",
"description": "when set, logs all database interactions"
}
],
"requires": ["database"],
"priority": 10
}