make_sandbox won't accept path argument
I'm trying out MySQL Sandbox, and I get an error that looks like this:
$ make_sandbox 5.x.y $(pwd)/
Executing low_level_
--sandbox_
--install_
--sandbox_
--no_ver_
/Users/
--my_clause=
unexpected arguments </Users/
(All the x's and y's above are real digits, I substituted letters in this output because x > 5. :-)
I also tried calling low_level_
---
I got the original command working, but after putting it aside from some time and trying a different variation, again I get baffling errors that don't seem to agree with the syntax message:
$ low_level_
unexpected arguments <.../path stuff..
I'm trying to specify the port and directory to install a "labs" build in a special location. I've tried all combinations of -P <portnum>, -P=<portnum>, --sandbox_port <portnum>, --sandbox_
In fact the examples all around this section don't use the tarball path format at all. That would help a lot if such examples could be sprinkled throughout the cookbook. Could the syntax check in the script test whether the "unexpected argument" is the name of a tarball, and give some more precise advice in that case? E.g. "you can't specify both a version and a tarball" or "when tarball is specified, you must also specify the -xyz option".
Oh I think I see the issue, so I'll try to summarize here to save some searching in a few months when I forget and encounter the error again. :-) The cookbook for specifying port and directory shows an example "low_level_
usage: ./make_sandbox version [options] {VERSION|
However, the only way I can avoid the error is to call make_sandbox with all the options _after_ the tarball path:
make_sandbox $(pwd)/
If it's intentional that the tarball has to come before the -- options, could the order of items reflect that in the syntax message for make_sandbox and low_level_
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask John Russell for more information if necessary.