Skip to content

Instantly share code, notes, and snippets.

@wuthmone
Last active October 24, 2017 07:34
Show Gist options
  • Save wuthmone/88b0a0c77eaa25f1cb8b6fa6367aca45 to your computer and use it in GitHub Desktop.
Save wuthmone/88b0a0c77eaa25f1cb8b6fa6367aca45 to your computer and use it in GitHub Desktop.
# Installation
sudo apt install mysql-server
# Start the server
sudo mysql -u root -p
#show dbs
SHOW DATABASES;
# Create DB
CREATE DATABASE skillset;
CREATE DATABASE IF NOT EXISTS skillset;
# To Use the skillset
USE skillset;
# To Show Tables
SHOW tables;
#Drop DB
DROP DATABASE skillset;
# To Run sql file
source table_create.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment