- First do an update :
- Then execute the install :
You will be prompted to enter at some point the password , so do that on the screen.
You can check whether the service is running using the following command :
To create a database or execute any command you need to access mysql prompt and provide password:
mysql -u root -p