So I’m not sure this is a “problem”, per se, but it’s something I’ve been trying to get working that’s giving me a problem.
I would like to have access to running a MySQL command line query from Debug Mode. I’ve been fiddling a bit with mounting the init.gz, expanding it, and trying to copy over some of the MySQL files to the same locations in the expanded init (/usr/bin/mysql on the host to /usr/bin/mysql on the expanded init). This is in the correct location on Debug Mode, but when I try running mysql, I receive this error: “/bin/sh: mysql: not found”. Launching #!/usr/bin/mysql seems to technically run, but doesn’t return anything (not even an error). I’m starting to wonder if I didn’t include all of the necessary files.
So I guess my question is this - how would “install” MySQL into the init.gz (or any command, for that matter - like whereis) so I can run it from Debug Mode?