我有一个使用 MySQL 的工作应用程序。然后,出于内存原因,我卸载了 Workbench(以及我认为与 MySQL 相关的所有内容),几个月后再次安装它,然后打开它。我没想到会看到当时的联系(我以为我卸载并删除了所有内容),但它们就在那里。当我现在双击任何这些连接(包括根连接)时,我收到一条错误消息:
无法获取管理访问权限
运行时错误:无法执行命令 chcp。请确保 C:\Windows\System32 目录位于您的 PATH 环境变量中
我不明白整个“路径变量”的概念,但似乎我有那条线
当我点击这个
我明白了
我尝试再次将
C:\Windows\System32
添加到该列表中,但没有帮助,我收到相同的错误消息
当我关闭原来的错误消息时,会弹出新的错误消息
未处理的异常:当前配置文件未启用 WMI
查看日志了解更多详情
我检查了日志,但我发现它没有太大帮助。如果不介意的话我就复制全文
17:57:22 [ERR][ Workbench]: Console redirection failed.
17:57:22 [INF][ Workbench]: Starting up Workbench
17:57:22 [INF][ Workbench]: Current environment:
Command line: "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\MySQLWorkbench.exe"
CurrentDirectory: C:\Users\Семья\Downloads
HasShutdownStarted: False
OSVersion: Microsoft Windows NT 6.2.9200.0
SystemDirectory: C:\WINDOWS\system32
TickCount: 15226671
UserInteractive: True
Version: 4.0.30319.42000
WorkingSet: 37670912
17:57:22 [INF][ Workbench]: Environment variables:
SESSIONNAME = Console
ProgramFiles(x86) = C:\Program Files (x86)
ProgramW6432 = C:\Program Files
CRASH_SERVICE_START_DURATION_MS = 30
PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 142 Stepping 9, GenuineIntel
TMP = C:\Users\38E2~1\AppData\Local\Temp
PROCESSOR_ARCHITECTURE = AMD64
Path = C:\Users\Семья\AppData\Local\Yandex\YandexBrowser\Application;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\dotnet\;C:\Program Files\Java\JDK\jdk-17.0.2+8\bin;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\resources\bin;C:\Users\Семья\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Java\JDK\jdk-17.0.2+8\bin;;C:\Program Files\JetBrains\IntelliJ IDEA 2022.3.2\bin;
HOMEPATH = \Users\Семья
USERPROFILE = C:\Users\Семья
PROCESSOR_REVISION = 8e09
TEMP = C:\Users\38E2~1\AppData\Local\Temp
FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING = Default
LOGONSERVER = \\LAPTOP-CKP86E2O
USERNAME = Nad.Chel
SystemRoot = C:\WINDOWS
CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_11976_TQQAPFFYFDOAMSDQ
OneDrive = C:\Users\Семья\OneDrive
CommonProgramFiles = C:\Program Files\Common Files
CHROME_RESTART = Яндекс Браузер|Произошла ошибка, Яндекс Браузер не может продолжить работу. Перезапустить?|LEFT_TO_RIGHT
ProgramData = C:\ProgramData
IntelliJ IDEA = C:\Program Files\JetBrains\IntelliJ IDEA 2022.3.2\bin;
OneDriveConsumer = C:\Users\Семья\OneDrive
COMPUTERNAME = LAPTOP-CKP86E2O
CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
ALLUSERSPROFILE = C:\ProgramData
CommonProgramW6432 = C:\Program Files\Common Files
DriverData = C:\Windows\System32\Drivers\DriverData
HOMEDRIVE = C:
windir = C:\WINDOWS
SystemDrive = C:
NUMBER_OF_PROCESSORS = 4
OS = Windows_NT
ProgramFiles = C:\Program Files
ComSpec = C:\WINDOWS\system32\cmd.exe
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
JAVA_HOME = C:\Program Files\Java\JDK\jdk-17.0.2+8
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
APPDATA = C:\Users\Семья\AppData\Roaming
USERDOMAIN = LAPTOP-CKP86E2O
PROCESSOR_LEVEL = 6
LOCALAPPDATA = C:\Users\Семья\AppData\Local
USERDOMAIN_ROAMINGPROFILE = LAPTOP-CKP86E2O
PUBLIC = C:\Users\Public
17:57:22 [INF][ Workbench]: Current version given by meta info is: 8.0.34
17:57:23 [INF][ Workbench]: This is the first start of a new version. Doing some clean up.
17:57:23 [INF][ Workbench]: Setting PATH to: C:\WINDOWS\system32;C:\Users\Семья\AppData\Local\Yandex\YandexBrowser\Application;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\dotnet\;C:\Program Files\Java\JDK\jdk-17.0.2+8\bin;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\resources\bin;C:\Users\Семья\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Java\JDK\jdk-17.0.2+8\bin;;C:\Program Files\JetBrains\IntelliJ IDEA 2022.3.2\bin;
17:57:23 [INF][ mforms managed]: Initializing mforms wrapper
17:57:24 [INF][ WBContext UI]: Initializing workbench context UI with these values:
base dir: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
plugin path: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
struct path:
module path: C:\Program Files\MySQL\MySQL Workbench 8.0 CE/modules
library path: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
user data dir: C:\Users\Семья\AppData\Roaming\MySQL\Workbench
open at start:
open type:
run at startup:
run type:
Force SW rendering: No
Force OpenGL: No
quit when done: No
17:57:24 [INF][ WBContext]: WbContext::init
17:57:27 [INF][ WBA]: Looking for extension modules for WBA...
17:57:27 [INF][ WBA]: 0 extension modules found
17:57:27 [WRN][ grt]: Duplicate plugin name wb.tools.cmdlineClient There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
17:57:28 [WRN][ grt]: C:\Users\Семья\AppData\Roaming\MySQL\Workbench\connections.xml:26: link '{EEDD668D-D0BC-4017-963C-A7BBF93AC0A2}' <object GrtObject> key=owner could not be resolved
17:57:28 [WRN][ grt]: Duplicate plugin name wb.tools.cmdlineClient There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
17:57:28 [INF][ WBContext]: System info:
MySQL Workbench Community (GPL) for Windows version 8.0.34 CE build 3263449 (64 bit)
Configuration Directory: C:\Users\Семья\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
Cairo Version: 1.17.6
OS: Microsoft Windows 10 Home Single Language
CPU: 4x Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 5.9 GiB RAM
Active video adapter Intel(R) HD Graphics 620
Installed video RAM: 1024 MB
Current video mode: Цвета: 1920 x 1080 x 4294967296
Used bit depth: 32
Driver version: 25.20.100.6446
Installed display drivers: C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_8398a8db631b662a\igdumdim64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_8398a8db631b662a\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_8398a8db631b662a\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_8398a8db631b662a\igd12umd64.dll
Current user language: Русский (Россия)
17:57:28 [INF][ Workbench]: UI is up
17:57:29 [INF][ Workbench]: Running the application
17:57:44 [ERR][SQL Editor Form]: SqlEditorForm: exception in do_connect method: Exception: Unable to connect to localhost
17:57:44 [WRN][SQL Editor Form]: Unable to connect to localhost
17:57:44 [INF][SQL Editor Form]: Error 2003 connecting to server, assuming server is down and opening editor with no connection
17:57:44 [INF][SQL Editor Form]: Error 2003 connecting to server, assuming server is down and opening editor with no connection
17:57:45 [INF][ WQE.net]: Launching SQL IDE
17:57:46 [INF][ WQE.net]: SQL IDE UI is ready
17:57:48 [ERR][wb_admin_control.py:init:307]: Error connecting to MySQL: Unable to connect to localhost (code 2003)
17:57:49 [ERR][wb_server_management.py:local_run_cmd_windows:407]: Exception executing local command: chcp.com: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_server_management.py", line 404, in local_run_cmd_windows
retcode = OSUtils.exec_command(command, output_handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\workbench\os_utils.py", line 360, in exec_command
for line in iter(process.stdout.readline, ""):
File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte
17:57:49 [WRN][wb_server_management.py:fetch_windows_shell_info:654]: ProcessOpsWindowsLocal.fetch_windows_shell_info(): WARNING: Unable to determine codepage from shell: ""
17:59:02 [ERR][wb_admin_control.py:server_polling_thread:561]: Error creating SQL connection for monitoring: MySQLError('Unable to connect to localhost (code 2003)')
18:01:03 [ERR][ pymforms]: Unhandled exception in Python code:
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_admin_grt.py", line 401, in <lambda>
ignore = mforms.Utilities.add_timeout(0.1, lambda: context.open_into_section("admin_server_status", True))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_admin_grt.py", line 329, in open_into_section
page = page_class(self.ctrl_be, self.server_profile, self.admin_tab)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_admin_server_status.py", line 234, in __init__
self.status = wb_admin_monitor.WbAdminMonitor(server_profile, self.ctrl_be)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_admin_monitor.py", line 251, in __init__
self.mon_be = wba_monitor_be.WBAdminMonitorBE(UPDATE_INTERVAL, server_profile, ctrl_be, self.widgets, self.cpu_widget, sql)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wba_monitor_be.py", line 398, in __init__
self.wmimon = WMIStats(ctrl_be, server_profile, cpu_widget)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wba_monitor_be.py", line 343, in __init__
raise Exception("Current profile has no WMI enabled") # TODO Should be better message
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Exception: Current profile has no WMI enabled
18:01:12 [INF][ WQE.net]: Shutting down SQL editor (pp_connection)
18:01:18 [ERR][SQL Editor Form]: SqlEditorForm: exception in do_connect method: Exception: Unable to connect to localhost
18:01:18 [WRN][SQL Editor Form]: Unable to connect to localhost
18:01:18 [INF][SQL Editor Form]: Error 2003 connecting to server, assuming server is down and opening editor with no connection
18:01:18 [INF][SQL Editor Form]: Error 2003 connecting to server, assuming server is down and opening editor with no connection
18:01:18 [INF][ WQE.net]: Launching SQL IDE
18:01:18 [INF][ WQE.net]: SQL IDE UI is ready
18:01:23 [ERR][wb_admin_control.py:init:307]: Error connecting to MySQL: Unable to connect to localhost (code 2003)
18:01:23 [ERR][wb_server_management.py:local_run_cmd_windows:407]: Exception executing local command: chcp.com: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_server_management.py", line 404, in local_run_cmd_windows
retcode = OSUtils.exec_command(command, output_handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\workbench\os_utils.py", line 360, in exec_command
for line in iter(process.stdout.readline, ""):
File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte
18:01:23 [WRN][wb_server_management.py:fetch_windows_shell_info:654]: ProcessOpsWindowsLocal.fetch_windows_shell_info(): WARNING: Unable to determine codepage from shell: ""
18:03:07 [ERR][wb_admin_control.py:server_polling_thread:561]: Error creating SQL connection for monitoring: MySQLError('Unable to connect to localhost (code 2003)')
18:04:52 [ERR][ pymforms]: Unhandled exception in Python code:
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_admin_grt.py", line 401, in <lambda>
ignore = mforms.Utilities.add_timeout(0.1, lambda: context.open_into_section("admin_server_status", True))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_admin_grt.py", line 329, in open_into_section
page = page_class(self.ctrl_be, self.server_profile, self.admin_tab)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_admin_server_status.py", line 234, in __init__
self.status = wb_admin_monitor.WbAdminMonitor(server_profile, self.ctrl_be)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_admin_monitor.py", line 251, in __init__
self.mon_be = wba_monitor_be.WBAdminMonitorBE(UPDATE_INTERVAL, server_profile, ctrl_be, self.widgets, self.cpu_widget, sql)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wba_monitor_be.py", line 398, in __init__
self.wmimon = WMIStats(ctrl_be, server_profile, cpu_widget)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wba_monitor_be.py", line 343, in __init__
raise Exception("Current profile has no WMI enabled") # TODO Should be better message
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Exception: Current profile has no WMI enabled
18:04:58 [INF][ WQE.net]: Shutting down SQL editor (Local instance MySQL80)
18:06:46 [ERR][SQL Editor Form]: SqlEditorForm: exception in do_connect method: Exception: Unable to connect to localhost
18:06:46 [WRN][SQL Editor Form]: Unable to connect to localhost
18:06:46 [INF][SQL Editor Form]: Error 2003 connecting to server, assuming server is down and opening editor with no connection
18:06:46 [INF][SQL Editor Form]: Error 2003 connecting to server, assuming server is down and opening editor with no connection
18:06:47 [INF][ WQE.net]: Launching SQL IDE
18:06:47 [INF][ WQE.net]: SQL IDE UI is ready
18:06:49 [ERR][wb_admin_control.py:init:307]: Error connecting to MySQL: Unable to connect to localhost (code 2003)
18:06:50 [ERR][wb_server_management.py:local_run_cmd_windows:407]: Exception executing local command: chcp.com: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_server_management.py", line 404, in local_run_cmd_windows
retcode = OSUtils.exec_command(command, output_handler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\workbench\os_utils.py", line 360, in exec_command
for line in iter(process.stdout.readline, ""):
File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte
18:06:50 [WRN][wb_server_management.py:fetch_windows_shell_info:654]: ProcessOpsWindowsLocal.fetch_windows_shell_info(): WARNING: Unable to determine codepage from shell: ""
18:22:42 [ERR][wb_admin_control.py:server_polling_thread:561]: Error creating SQL connection for monitoring: MySQLError('Unable to connect to localhost (code 2003)')
18:22:42 [ERR][ pymforms]: Unhandled exception in Python code:
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_admin_grt.py", line 401, in <lambda>
ignore = mforms.Utilities.add_timeout(0.1, lambda: context.open_into_section("admin_server_status", True))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_admin_grt.py", line 329, in open_into_section
page = page_class(self.ctrl_be, self.server_profile, self.admin_tab)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_admin_server_status.py", line 234, in __init__
self.status = wb_admin_monitor.WbAdminMonitor(server_profile, self.ctrl_be)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wb_admin_monitor.py", line 251, in __init__
self.mon_be = wba_monitor_be.WBAdminMonitorBE(UPDATE_INTERVAL, server_profile, ctrl_be, self.widgets, self.cpu_widget, sql)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wba_monitor_be.py", line 398, in __init__
self.wmimon = WMIStats(ctrl_be, server_profile, cpu_widget)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\wba_monitor_be.py", line 343, in __init__
raise Exception("Current profile has no WMI enabled") # TODO Should be better message
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Exception: Current profile has no WMI enabled
“Python 代码中未处理的异常”对我来说非常困惑,因为我用 Java 编写代码。我不知道 Python 与什么有什么关系
一些建议(包括在StackOverflow)该消息可能与系统区域设置有关,但我不认为更改系统区域设置是可接受的解决方案(此外,在我卸载它之前它工作得很好,所以它一定是错误的处理方式)
“哦,愚蠢的我,我只是忘了安装 MySQL 服务器本身,”我想。我访问了此页面,下载了安装程序,选择了 MySQL Server(以及连接器 J,以防万一,尽管我的想法是只需将其添加为 Java 项目中的 Maven 依赖项)并启动该过程。在MySQL服务器配置阶段,弹出了这个
System.NullReferenceException:Ссылка на объект не указывает на экземпляр объекта。 MySql.Installer.Plugins.Server.ServerConfigurationController.ValidateServerFilesHaveRecommendedPermissions() MySql.Installer.Plugins.Server.ServerConfigurationController.SetPages() в MySql.Installer.Wizards.ConfigWizard.ConfigWizard.ShowWizard(Package包、MainFormparentMainForm、ConfigurationType配置类型)
我按了“Продолжить”(意思是“继续”),然后按“完成”,但安装显然没有正确完成。当我在安装程序中单击“重新配置”时,会出现相同的错误。不用说,Workbench 仍然无法正常工作
当我第一次安装MySQL时,我从未配置过任何PATH变量,也没有任何异常
我的笔记本电脑操作系统是 Windows 10, x64
让 MySQL 重新启动并运行对我来说至关重要,因为我需要能够很快在视频通话的技术面试中展示该应用程序
我应该怎样做才能确保它?
你几乎做到了。事实上,您必须安装 MySQL 服务器。最直接的方法确实是下载安装程序并选择 MySQL Server 进行下载。但!您也犯了下载 Connector J 的错误(事实上,您可能只是在 Java 项目中添加 Maven 依赖项)。现在,分步解决方案是这样的
现在应该一切正常了!