Tinderbox/Tbox3 Setup: Difference between revisions

Jump to navigation Jump to search
Line 53: Line 53:
For the below, "pass" is assumed to be the password you assigned to the tbox3 user.
For the below, "pass" is assumed to be the password you assigned to the tbox3 user.


   yourmachine:~# mysql
   yourmachine:~# mysql -p
  Enter password: pass
   mysql> GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,
   mysql> GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,
           DROP,REFERENCES ON tbox.* TO tbox3@localhost
           DROP,REFERENCES ON tbox.* TO tbox3@localhost
Line 60: Line 61:
   mysql> create database tbox;
   mysql> create database tbox;
   mysql> quit
   mysql> quit
  Bye
   yourmachine:~#
   yourmachine:~#


Line 74: Line 76:
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
again, it won't complain.
again, it won't complain.
Note that there appears to be an error in the setup-mysql.pl script: the short form for both "port" and "password" is specified as "p".  The above text previously had "-p pass", which did not work until I used the long version.  Something else is wrong with the script, and I'm working on debugging that now; will update this section when finished.


=== Code Changes ===
=== Code Changes ===
21

edits

Navigation menu