Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Databases

mySQL workbench - Error Unhandled exception: Current profile has no WMI enabled

Every time I click on either "Server Status" or "Startup / Shutdown" I get this error:

" ERROR: Could not acquire management access for administration. RuntimeError: Could not initialize WMI interface: Workbench.wmiOpenSession(): Could not connect to target machine. "

I can't find a solution to this. It worked fine the first time I worked in mySQL workbench. I have uninstalled everything and installed it again, didn't work either :(

I really would appreciate some help with this, thanks!

1 Answer

Steven Parker
Steven Parker
230,037 Points

I'm not personally familiar with this issue, but I've seen postings about it, one suggests these steps be taken to resolve it:

  • Open MySQL Workbench
  • click on “Manage Server Instances” under “Server Administration” column
  • close the screen again.
  • Now click on the instance again, the issue should be fixed.

Another post makes this recommendation:

  • Open MySQL Workbench
  • Click Manage Server Instances
  • Select System Profile tab
  • Check box(es) to acquire Admin privileges

Try one or both of these and see if it helps.