# Exiting mysql through command prompt?

**URL:** https://forum.kirupa.com/t/exiting-mysql-through-command-prompt/202771
**Category:** Uncategorized
**Created:** [October 4, 2006, 6:18pm UTC](https://forum.kirupa.com/t/exiting-mysql-through-command-prompt/202771 "2006-10-04T18:18:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![salvador\_marley](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@salvador\_marley](https://forum.kirupa.com/u/salvador_marley)
#### Post date: [October 4, 2006, 6:18pm UTC](https://forum.kirupa.com/t/exiting-mysql-through-command-prompt/202771/1 "2006-10-04T18:18:37Z")

</div>

I have just installed mysql and it seems to be running fine in the background. But in the book I am reading - it says that it must be exited from properly and says to do the following:

open the command prompt window \> then type in: cd \mysql\bin and press enter.

then type in mysqladmin shutdown and press enter.

When I do this i get a message saying that I do not have the permission to perform SHUTDOWN. I need to know becuse it says in the book that not closing properly can make a mess of things

If you know how i can close it - that would be great

Thank you.
