Tinderbox/Tbox3 Setup: Difference between revisions

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


First you need a tinderbox user, for example tbox3 which the code uses.
First you need a tinderbox user, for example tbox3 which the code uses.  For the below, "pass" is assumed to be the password you assigned to the tbox3 user.


   yourmachine:~# mysql
   yourmachine:~# mysql
Line 29: Line 29:
   yourmachine:~#
   yourmachine:~#


Next, download the tinderbox3 sources:
Next, download and expand the tinderbox3 sources:


   wget http://www.johnkeiser.com/mozilla/tbox3.tgz
   wget http://www.johnkeiser.com/mozilla/tbox3.tgz
  tar xzvf tbox3.tgz


Now create the tables:
Now create the tables:


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


This gives errors saying it can't drop tables. That's okay; if you run it
This gives errors saying it can't drop tables. That's okay; if you run it
21

edits