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

Development Tools Database Foundations Installing MySQL Server and MySQL Workbench Running a Script and Using MySQL Workbench

problem with mysql server

Please help I have those errors when trying to use mysql server stuff... :-(

FIRST ERROR

Could not acquire management access for administration

runtime error unable to execute command chcp. Please make sure that the c:\windows\system32 is in your PATH environment variable.

SECOND ERROR

ERROR

Unhandled exception: Currnt profile has no WMI enabled.

EDIT: Answered in the wrong spot. :)

2 Answers

So... That's a bug with Workbench. Try uninstalling it and reinstalling the latest stable release as administrator. If you still get the error, you'll have to place the path to "chcp.com" into your environment variable path. Like this: http://www.computerhope.com/issues/ch000549.htm Good luck! If I think of anything else, I'll chime in.

Also... You probably won't use workbench a whole lot outside the course, but it is a good visual way to see what's happening with your data.

Also... While I love my PC (and develop on it daily), setting this stuff up on them is hard. You will run into more errors down the road with other things. Just press on and gather resources wherever you can.

The link [http://www.computerhope.com/issues/ch000549.htm] helped me add the C:\Windows\System32 to the Path variable (with a ";" separation), and the problem is now resolved! Thanks Gary Alan Jackson!

You're welcome! Enjoy learning about MySQL!

Shannon Ferguson
Shannon Ferguson
4,307 Points

Thanks Gary! Worked for me too