Start and shutdown MySQL server.
Start MySQL ServerCommand prompt:
Set the mysql directory and type:
./bin/mysqld_safe &
This will ensure that the process runs in the background.
Shutdown MySQL ServerCommand prompt:
./bin/mysqladmin -u root -p shutdown
This will shut down sql server completely as root user.