|
Revision 48, 1.2 kB
(checked in by oxff, 4 years ago)
|
~ added submit-mysql module as an optional module (make submit-mysql)
~ added submit-mysql example config
~ added submit-mysql howto
|
| Line | |
|---|
| 1 |
First let me state, this module is an anonymous third party contribution |
|---|
| 2 |
(nevertheless released under theBSD License mwcollect is released under as well) |
|---|
| 3 |
with very ugly code. I did little compilation time fixing for this and no runtime |
|---|
| 4 |
testing at all! Please report *anything* you have to say about this module. |
|---|
| 5 |
|
|---|
| 6 |
Only supported under Linux (specifically Makefile.LINUX) and only tested under |
|---|
| 7 |
Debian unstable yet. |
|---|
| 8 |
|
|---|
| 9 |
1) Building bin/modules/submit-mysql.so |
|---|
| 10 |
You can simply type `make submit-mysql` in the mwcollect base directory. This |
|---|
| 11 |
module depends on libz and libmysql-client-1.4 (both developer's versions of |
|---|
| 12 |
course). |
|---|
| 13 |
|
|---|
| 14 |
2) Configuring submit-mysql |
|---|
| 15 |
The update .conf.dist contains a commented-out block for submit-mysql, which |
|---|
| 16 |
should explain all config vars. |
|---|
| 17 |
|
|---|
| 18 |
3) Configuring your MySQL database |
|---|
| 19 |
You should create a new table using the `mw_data.sql' script in src/submit-mysql |
|---|
| 20 |
under whatever database you like. |
|---|
| 21 |
|
|---|
| 22 |
Have fun and *please* report anything, including simple `works as described' |
|---|
| 23 |
stories. If I get >= 3 success stories, I will release this together with 2.1.1 |
|---|
| 24 |
(still as optional module, because not everybody wants to fullfill mysql |
|---|
| 25 |
dependencies if not using the module at all). |
|---|