Books & Music
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
News & Politics
Religion & Spirituality
Travel & Culture
TV & Movies
Basic MySQL Commands
If you're just getting started with MySQL, here are the basic commands to work with your database.
To start MySQL, type in the command:
You can put that in as a service, as long as you give the full proper path before both the executable name and the defaults file name.
To monitor what MySQL is doing, go to a command prompt and type:
mysql -u root -p
the system will prompt you for the root password, and then give you a
prompt. You can now type in commands to mysql, to find out its health. When you're done, type in
to get out of the tool.
from the command line you can also type
net stop mysql
net start mysql
to start and stop the mysql service, assuming you have the service set up properly with that name.
| Related Articles | Editor's Picks Articles | Top Ten Articles | Previous Features | Site Map
Content copyright © 2015 by Lisa Shea. All rights reserved.
This content was written by Lisa Shea. If you wish to use this content in any manner, you need written permission. Contact Lisa Shea for details.
Website copyright © 2015 Minerva WebWorks LLC. All rights reserved.