Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在我安装MySQL Shell For VSCode之前我单独安装了MySQL Shell 8.0.40实例,但是安装插件时它还是安装了插件自带的Shell #64

Open
wanqiu2004 opened this issue Dec 5, 2024 · 1 comment

Comments

@wanqiu2004
Copy link

wanqiu2004 commented Dec 5, 2024

我的系统是Windows11 23H2专业版
在安装插件时我使用了MySQL官方的 1.6安装器安装了MySQL Shell 8.0.40,及8.0.40 MySQL Server
并成功添加到系统环境变量里,可以通过命令行输入mysqlsh启动Shell实例,
在我阅读https://dev.mysql.com/doc/mysql-shell-gui/en/mysql-shell-for-vscode-setup.html
这份文档的Requirements部分时,我看到
"[MySQL Shell]8.0.28 and later (optional). If you intend to maintain MySQL Shell as a standalone product, instead of using the embedded instance, install MySQL Shell before installing the MySQL Shell for VS Code extension."
我的条件符合,我直接在VSCode内的插件商店搜索并安装了插件,非常成功,使用没有问题。
但是我打开资源管理器发现我使用插件时运行的是一个插件自带的Shell,
它的版本是9.1.0,路径是C:\Users\user\.vscode\extensions\oracle.mysql-shell-for-vs-code-1.18.0-win32-x64\shell
这不是我先前独立安装的8.0.40,这让我非常不解,为什么插件又给我安装了一个Shell

@mike-lischke
Copy link
Member

mike-lischke commented Dec 5, 2024

Google Translate:

My system is Windows 11 23H2 Professional Edition. When installing the plug-in, I used the official MySQL 1.6 installer to install MySQL Shell 8.0.40 and 8.0.40 MySQL Server.

It was successfully added to the system environment variables. You can start the Shell instance by entering mysqlsh on the command line. When I read the Requirements section of https://dev.mysql.com/doc/mysql-shell-gui/en/mysql-shell-for-vscode-setup.html, I saw "[MySQL Shell] 8.0.28 and later (optional). If you intend to maintain MySQL Shell as a standalone product, instead of using the embedded instance, install MySQL Shell before installing the MySQL Shell for VS Code extension."

My conditions meet the requirements. I searched and installed the plug-in directly in the plug-in store in VSCode. It was very successful and there was no problem using it. But when I opened the resource manager, I found that when I used the plug-in, I was running a shell that came with the plug-in.

Its version is 9.1.0, and the path is C:\Users\user.vscode\extensions\oracle.mysql-shell-for-vs-code-1.18.0-win32-x64\shell

This is not the 8.0.40 that I installed independently before. This puzzled me. Why did the plug-in install another shell for me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants