Revision 2869, 1.0 kB
(checked in by jerome, 19 years ago)
|
Obsoletes Matt's previous contribution for mysql history.
|
Line | |
---|
1 | This is a simple mysql history script contributed by |
---|
2 | Matt Hyclak <hyclak@math.ohiou.edu> |
---|
3 | |
---|
4 | NB : THIS SCRIPT WAS MEANT TO BE USED FOR PEOPLE WHO WANTED TO STORE |
---|
5 | THE PRINTING HISTORY IN A MYSQL DATABASE WHEN MYSQL WAS **NOT** SUPPORTED |
---|
6 | IN PYKOTA. UNLESS YOU'VE GOT REALLY SPECIAL NEEDS, YOU SHOULD CONSIDER |
---|
7 | THE CONTENT OF THIS DIRECTORY TO BE OUTDATED AND YOU SHOULD NOT USE IT : |
---|
8 | MYSQL IS NOW SUPPORTED AS THE DATABASE BACKEND FOR PYKOTA, PLEASE SEE |
---|
9 | ../../initscripts/mysql/README.mysql FOR DETAILS. |
---|
10 | |
---|
11 | To use, place the mysql_history.conf file in your pykota config directory. |
---|
12 | This is located in the pykota user's home directory, or as a last resort in |
---|
13 | /etc/pykota. Modify the variables to match your setup. |
---|
14 | |
---|
15 | The mysql_history.py should be called from a posthook script. No variables need |
---|
16 | be passed to the script, as it extracts everything from the environment |
---|
17 | variables set by Pykota. |
---|
18 | |
---|
19 | The history.sql file includes the SQL statements to create the database used |
---|
20 | by the mysql_history.py program. This can be extended fairly trivially if you |
---|
21 | wish to capture extra data. |
---|