Tinderbox/Tbox3 Setup: Difference between revisions

Line 18: Line 18:
==== MySQL ====
==== MySQL ====


First you need a tinderbox user, for example tbox, thought the code uses
First you need a tinderbox user, for example tbox3 which the code uses.
tbox3, so that is the better choice.


   yourmachine:~# mysql
   yourmachine:~# mysql
   mysql> GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,
   mysql> GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,
           DROP,REFERENCES ON tbox.* TO tbox@localhost
           DROP,REFERENCES ON tbox.* TO tbox3@localhost
           IDENTIFIED BY 'pass';
           IDENTIFIED BY 'pass';
   mysql> FLUSH PRIVILEGES;
   mysql> FLUSH PRIVILEGES;
Line 34: Line 33:


   cd tinderbox3/sql
   cd tinderbox3/sql
   ./setup-mysql.pl --username tbox -p pass
   ./setup-mysql.pl --username tbox3 -p pass


This gives errors saying it can't drop tables. Thats ok, if you run it
This gives errors saying it can't drop tables. Thats ok, if you run it
21

edits