1-- Note: use the same username/password values here as set in 2-- includes/parsecvs-dbaccess.php and in 3-- www/projectName/includes/searchcvs-dbaccess.php 4-- 5-- You can load this file into mysql using: 6-- $ mysql -u root -p < mysql-users.dump 7 8-- Note that the database name for the stored CVS data is `modeling`, as in the Eclipse Modeling Project. 9-- You'll probably want to change that for your project's needs. 10 11-- Local access (cvs parser) granted to read/write for user 'dbaccessrw' with password 'dbaccessrwpassword' 12CREATE USER 'dbaccessrw'@'localhost' IDENTIFIED BY 'dbaccessrwpassword'; 13GRANT USAGE ON *.* TO 'dbaccessrw'@'localhost' IDENTIFIED BY 'dbaccessrwpassword' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0; 14GRANT ALL PRIVILEGES ON `dbaccessrw`.* TO 'dbaccessrw'@'localhost'; 15 16-- Remote access (website) granted to read only for user 'dbaccessro' with password 'dbaccessropassword' 17CREATE USER 'dbaccessro'@'%eclipse.org' IDENTIFIED BY 'dbaccessropassword'; 18GRANT USAGE ON *.* TO 'dbaccessro'@'%eclipse.org' IDENTIFIED BY 'dbaccessropassword' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0; 19GRANT SELECT ON `modeling`.* TO 'dbaccessro'@'%eclipse.org'; 20