Could not acquire management access for administration. Runtime Error: Unable to excute command chcp

冷暖自知 提交于 2021-01-28 12:37:56

问题


I installed MySQL workbench 8.0 in windows 7. After the installation I just clicked server status its through the error like Could not acquire management access for administration. Run-time Error: Unable to execute command chcp. Please make sure that the C:Windows\System32 directory is in your path environment variable. How can I solve this error?


回答1:


To resolve this problem on 64 bit system we have to follow two steps.

  1. add environment variable path to C:\Windows\System32
  2. we need chcp.com cmd file in C:\Windows\SysWOW64 copy it from C:\Windows\System32 path and paste in C:\Windows\SysWOW64

    now close mysql workbench and reopen it.

Hope you got the answer.




回答2:


Just add the C:\Windows\System32 to the Path, and the problem will be solved!

Don't forget to add ";" to separate addresses.




回答3:


Add the 'C:\Windows\System32' to the PATH environment variable.

Make sure you add it to PATH and not to Path.




回答4:


I've reproduced the same issue by clicking server status:

Could not acquire management access for administration

RuntimeError: Unable to execute command chcp. Please make sure that the C:\Windows\System32 directory is in your PATH environment variable 

and after click cancel was:

Error during ""

error calling Python module function WbAdmin.openAdminSection

using MySQL Server 8.0.23 & MySQL Workbench 8.0.23 for 64-bit OS Windows 10.

Notice: all environment variables were configured correct in my case.

Solved it only by reinstalling and using another version like MySQL Workbench 8.0.20, but I'd really recommend also downgrade version of server to MySQL Server 8.0.20 to avoid other bugs, e.g.: creating/deleting schemes and so on.

The same version should match all products to work correctly.



来源:https://stackoverflow.com/questions/53236494/could-not-acquire-management-access-for-administration-runtime-error-unable-to

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!