Skip to content

Instantly share code, notes, and snippets.

@MakiseKurisu
Created October 6, 2018 01:30
Show Gist options
  • Save MakiseKurisu/054684e9849c9bf7006a7ad4d2f3d32d to your computer and use it in GitHub Desktop.
Save MakiseKurisu/054684e9849c9bf7006a7ad4d2f3d32d to your computer and use it in GitHub Desktop.
wget https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb
apt install -y lsb-release
dpkg -i mysql-apt-config_0.8.10-1_all.deb
rm mysql-apt-config_0.8.10-1_all.deb
apt update
apt upgrade -y
apt install -y mysql-server mysql-client
mysql_secure_installation
mysql -p
CREATE USER 'cis'@'%' IDENTIFIED BY 'cis';
GRANT ALL PRIVILEGES ON * . * TO 'cis'@'%';
FLUSH PRIVILEGES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment