How to Install MySQL on Ubuntu 16.04 LTS?
MySQL is a relational database that is used to store data. It is most widely used database provides set of advance features, management tools, technical support, scalability and security.
It is a product of Oracle Corporation and first released on 23 may 1995.
In this tutorial, we will install MySQL on Ubuntu 16.04 LTS. This whole process includes the following steps.
- login as a root user in terminal
We can use following command to install MySQL.
At the time of configuration, it will prompt for MySQL credentials.
Confirm entered password.
Login into MySQL
use the following command to login into MySQL.
Well, we have successfully installed and logged in to MySQL.
We can use following commands to manage MySQL database.
Use the following command to check running status of MySQL.
Use the following command to start MySQL database.
Use the following command to stop MySQL database.
Use the following command to restart MySQL database.
Use the following command to remove MySQL database.
Use the following command to remove all packages that were installed automatically while installing MySQL database.