Category: Database

MySQL Basic Commands

How to login into MYSQL through terminal sudo mysql -h hostname -u username -p Create a database List all databases  mysql> create database databasename; mysql> show databases; List all tables Read more

How to install MySQL on Ubuntu

Step 1: Enable MySQL Apt Repositories wget -c https://repo.mysql.com//mysql-apt-config_0.8.13-1_all.deb Then install the MySQL repository package by using the below command.  sudo dpkg -i mysql-apt-config_0.8.13-1_all.deb MySQL server version 8.0 will be Read more