[Camps-users] Configuring database roles for camp type

Sam Batschelet sbatschelet at mac.com
Mon Aug 27 17:34:58 UTC 2012


On Aug 27, 2012, at 1:31 PM, Russell Steinert <info at shopbutternut.com> wrote:

> Hello -
> We are making progress on our sandbox devcamps setup on Centos 5. The camps are being setup by mkcamp, however we are encountering an error for which there seems to be virtually no documentation and I am hoping someone can enlighten us.  After a successful .git repository cloning, the script stops with the error:
> 
> "There are no roles configured for this camp type!  Cannot prepare database".
> 
> We have created the folder /home/camp-user/camp-type/mysql/roles but cannot figure out how to give the script what it needs there.  I am assuming it requires login information for the system MySQL server but in what form, a YAML config file, .sql file?  Please advise. Thanks!

Mine is setup like this under filename roles/root

UPDATE user
SET Password = PASSWORD('__PASS__')
WHERE User = '__ROLE__';

perhaps that might help.

-Sam


More information about the Camps-users mailing list