Changeset 2873 for pykota/trunk/initscripts
- Timestamp:
- 05/02/06 16:45:28 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/initscripts/mysql/pykota-mysql.sql
r2866 r2873 39 39 GRANT USAGE ON *.* TO 'pykotauser'@'localhost' IDENTIFIED BY 'readonlypw'; 40 40 GRANT USAGE ON *.* TO 'pykotaadmin'@'localhost' IDENTIFIED BY 'readwritepw'; 41 42 -- 43 -- If necessary activate the lines below (and keep the preceding ones 44 -- activated at the same time) 45 -- 46 -- GRANT USAGE ON *.* TO 'pykotauser'@'%' IDENTIFIED BY 'readonlypw'; 47 -- GRANT USAGE ON *.* TO 'pykotaadmin'@'%' IDENTIFIED BY 'readwritepw'; 41 48 42 49 -- … … 120 127 jobdate TIMESTAMP, 121 128 INDEX (userid, printerid), 122 129 CONSTRAINT checkUserPQuota FOREIGN KEY (userid, printerid) REFERENCES userpquota (userid, printerid) 123 130 ) TYPE=INNODB; 124 131 CREATE INDEX jobhistory_u_id_ix ON jobhistory (userid); … … 137 144 maxjobsize INT4, 138 145 datelimit TIMESTAMP, 139 146 INDEX (groupid), 140 147 FOREIGN KEY (groupid) REFERENCES groups(id), 141 148 INDEX (printerid), 142 149 FOREIGN KEY (printerid) REFERENCES printers(id)) 143 150 TYPE=INNODB; … … 203 210 GRANT SELECT ON `pykota`.* TO 'pykotauser'@'localhost'; 204 211 212 -- 213 -- If necessary activate the lines below (and keep the preceding ones 214 -- activated at the same time) 215 -- 216 -- GRANT SELECT, INSERT, UPDATE, DELETE, REFERENCES ON `pykota`.* TO 'pykotaadmin'@'%'; 217 -- GRANT SELECT ON `pykota`.* TO 'pykotauser'@'%'; 218