Skip to content

Instantly share code, notes, and snippets.

@chrishop
Last active March 31, 2020 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrishop/4414c927e5bf5144f1cb73797ec5f412 to your computer and use it in GitHub Desktop.
Save chrishop/4414c927e5bf5144f1cb73797ec5f412 to your computer and use it in GitHub Desktop.
# install mysql
sudo apt update
sudo apt install mysql-server
# should now open a window to set your root password if not do this:
sudo mysql_secure_instalation utility
sudo ufw enable
sudo ufw allow mysql
#install python3
sudo apt install python3 python3-pip
# install git
sudo apt install git
# download tap-dat
#clone git
git clone https://github.com/chrishop/tap-dat.git
cd tap-dat
chmod +x ./install.sh
# open mysql prompt
mysql -u root -p
# these command should be put in the sql prompt
SHOW DATABASES; #so you can see the databases
CREATE DATABASE db_name; # to create the database
USE db_name; # to select the database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment