21
edits
(→MySQL) |
(→MySQL) |
||
| Line 18: | Line 18: | ||
==== MySQL ==== | ==== MySQL ==== | ||
First you need a tinderbox user, for example | First you need a tinderbox user, for example tbox3 which the code uses. | ||
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 | 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 | ./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 | ||
edits