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

Revision 3413, 2.6 kB (checked in by jerome, 16 years ago)

Removed unnecessary spaces at EOL.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
RevLine 
[1559]1# $Id$
2
[3259]3PyKota - Print Quotas for CUPS
[1559]4
[3279]5(c) 2003, 2004, 2005, 2006, 2007, 2008 Jerome Alet <alet@librelogiciel.com>
[3259]6This program is free software: you can redistribute it and/or modify
[1559]7it under the terms of the GNU General Public License as published by
[3259]8the Free Software Foundation, either version 3 of the License, or
[1559]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
[3259]17along with this program.  If not, see <http://www.gnu.org/licenses/>.
[1559]18
19============================================================
20
21Documentation for the pykota-mysql.sql script :
22-----------------------------------------------
23
24This script is to be used to create an empty Quota Storage
25DataBase using MySQL as a backend.
26
[3413]27        - edit the pykota-mysql.sql file and modify the passwords at
[2816]28          the end of the 'GRANT USAGE' lines.
[3413]29
[2815]30        - As MySQL's administrative user, usually root,
31          do the following :
[3413]32
[2815]33            # mysql <pykota-mysql.sql
[3413]34
[2815]35        - If no error message appear, your MySQL PyKota storage
36          is now ready for use.
[3413]37
[2816]38        - In ~pykota/pykota.conf, ensure that the following lines
39          are present and unique inside the [global] section :
[3413]40
[2816]41            storagebackend : mysqlstorage
42            storageserver : localhost
43            storagename : pykota
44            storageuser : pykotauser
45            storageuserpw : readonlypw
[3413]46
[2816]47            NB : replace 'readonlypw' with the password you chose
48            for user 'pykotauser' when you modified pykota-mysql.sql
[3413]49
[2816]50        - In ~pykota/pykotadmin.conf ensure that the following lines
51          are present and unique inside the [global] section :
[3413]52
[2816]53            storageadmin : pykotaadmin
54            storageadminpw : readwritepw
[3413]55
[2816]56            NB : replace 'readwritepw' with the password you chose
57            for user 'pykotaadmin' when you modified pykota-mysql.sql
[3413]58
59        - IMPORTANT : if your database is not located on the print server,
60          replace 'localhost' in the lines above with your database server's
[2817]61          hostname or IP address. If your database server doesn't listen on
62          its standard port, add the port number at the end of the hostname
63          with a colon to separate the hostname from the port.
64          See pykota/conf/pykota.conf.sample for examples.
[3413]65
[2815]66============================================================
Note: See TracBrowser for help on using the browser.