MySQL MySQL is an open source database management software that help users store, organize, and retrieve data. It is a very powerful DBMS with a lot of flexibility quickinstallation of MySQL server sudo apt-get update sudo apt-get install mysql-server Once you have MySQL installed on your droplet, you can access the MySQL shell by typing the following command into terminal: mysql -u root -p All MySQL commands end with a semicolon; if the phrase does not end with a semicolon, the command will not execute. You can quickly check what databases are available by typing: SHOW DATABASES; Creating a database is very easy: CREATE DATABASE database name; You would delete a MySQL database with this command: DROP DATABASE database name; Let’s open up the database we want to use: USE databasename; you can also see an overview of the tables that the database contains. SHOW tables; Let’s create a new MySQL table: CREATE TABLE potluck (id INT NOT...
KTU FOSS Lab Solutions-by Dr Binu V P