Changeset 10312


Ignore:
Timestamp:
2005-07-26T12:03:45+12:00 (19 years ago)
Author:
kjdon
Message:

added notes for external mysql

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/README.txt

    r10302 r10312  
    238238------------------------------
    239239
     240Set the mysql.installed.path property in build.xml to be non-empty (its not actually used) before installation.
     241
    240242You will need to add the two greenstone users: gsdl3reader and gsdl3admin. The reader user is only used for accessing the database, the admin user can be used for modification.
    241243
     244Run mysql as the root user.
     245
    242246Commands to add the two users:
    243 GRANT SELECT,INSERT,DELETE,UPDATE,DROP,CREATE ON *.* TO gsdl3admin@localhost;
    244 GRANT SELECT ON *.* TO gsdl3reader@localhost;
    245 
     247GRANT SELECT,INSERT,DELETE,UPDATE,DROP,CREATE ON *.* TO gsdl3admin@localhost identified by 'admin-password';
     248GRANT SELECT ON *.* TO gsdl3reader@localhost identified by 'reader-password';
     249
     250You will need to edit the gsdl3/web/WEB-INF/classes/global.properties file and set the two passwords that you used in here:
     251mysql.admin.pword and mysql.reader.pword
     252
     253You should also load up the database for the gs3mgdemo collection:
     254create database localsite_gs3mgdemo;
     255
     256Close mysql, then run
     257mysql localsite_gs3mgdemo < <path-to-gsdl3>/sites/localsite/collect/gs3mgdemo/mysqldatadump.sql
     258You may need to run this using '--user=root -p'
    246259
    247260Notes for Mac OS
Note: See TracChangeset for help on using the changeset viewer.