This folder contains the code for the MySQL Schema Management Plugin. It is part of the MySQL Shell Plugins repository.
No installation is necessary for this plugin, beside the setup of Visual Studio Code to be able to work on the code.
To be able to run the tests, MySQL Shell must be installed and in the path.
When inside the shell_plugins folder run the following command on the terminal.
mysqlsh --pym pip install -r msm_plugin/requirements.txtThe test can be executed by running the run-pytest script in the NPM SCRIPTS section of the VS Code sidebar.
To run the tests from the terminal, changing into the shell_plugins folder and run the following command.
mysqlsh --log-level=debug3 --verbose=4 --py -f run_tests.pyTo run a specific test, use the -k option.
mysqlsh --log-level=debug3 --verbose=4 --py -f run_tests.py -k test_plugin_versionCopyright © 2025, 2026, Oracle and/or its affiliates.