root / pykota / trunk / initscripts / mysql / README.mysql @ 2816

Revision 2816, 2.3 kB (checked in by jerome, 18 years ago)

Improved documentation for MySQL

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Id$
2
3PyKota - Print Quotas for CUPS and LPRng
4
5(c) 2003, 2004, 2005, 2006 Jerome Alet <alet@librelogiciel.com>
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
20============================================================
21
22Documentation for the pykota-mysql.sql script :
23-----------------------------------------------
24
25This script is to be used to create an empty Quota Storage
26DataBase using MySQL as a backend.
27
28        - edit the pykota-mysql.sql file and modify the passwords at
29          the end of the 'GRANT USAGE' lines.
30         
31        - As MySQL's administrative user, usually root,
32          do the following :
33         
34            # mysql <pykota-mysql.sql
35           
36        - If no error message appear, your MySQL PyKota storage
37          is now ready for use.
38         
39        - In ~pykota/pykota.conf, ensure that the following lines
40          are present and unique inside the [global] section :
41       
42            storagebackend : mysqlstorage
43            storageserver : localhost
44            storagename : pykota
45            storageuser : pykotauser
46            storageuserpw : readonlypw
47           
48            NB : replace 'readonlypw' with the password you chose
49            for user 'pykotauser' when you modified pykota-mysql.sql
50           
51        - In ~pykota/pykotadmin.conf ensure that the following lines
52          are present and unique inside the [global] section :
53       
54            storageadmin : pykotaadmin
55            storageadminpw : readwritepw
56           
57            NB : replace 'readwritepw' with the password you chose
58            for user 'pykotaadmin' when you modified pykota-mysql.sql
59       
60============================================================
Note: See TracBrowser for help on using the browser.