You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently dbsake sandbox installs a sandbox owned by the user running the command. When running as root, this is similar to always enabling the SANDBOX_AS_ROOT option in mysql-sandbox. That is, the dbsake sandbox is owned by the root user, and mysqld runs at the root user. This is not ideal and should generally be avoided.
The first step here is to allow at least specifying a different system user and preserving permissions correctly. Some care should probably be taken to verify the specified user has access to the sandbox directory or bootstrapping will just fail spectacularly.
The text was updated successfully, but these errors were encountered:
You'll also need the my.sandbox.cnf to be at least group owned by the specified system user to load plugins:
As of MySQL 5.1.33, INSTALL PLUGIN causes the server to read option (my.cnf) files just as during server startup. This enables the plugin to pick up any relevant options from those files. It is possible to add plugin options to an option file even before loading a plugin (if the loose prefix is used). It is also possible to uninstall a plugin, edit my.cnf, and install the plugin again. Restarting the plugin this way enables it to the new option values without a server restart.
Currently dbsake sandbox installs a sandbox owned by the user running the command. When running as root, this is similar to always enabling the SANDBOX_AS_ROOT option in mysql-sandbox. That is, the dbsake sandbox is owned by the root user, and mysqld runs at the root user. This is not ideal and should generally be avoided.
The first step here is to allow at least specifying a different system user and preserving permissions correctly. Some care should probably be taken to verify the specified user has access to the sandbox directory or bootstrapping will just fail spectacularly.
The text was updated successfully, but these errors were encountered: