Last active
October 24, 2017 07:34
-
-
Save wuthmone/88b0a0c77eaa25f1cb8b6fa6367aca45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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