Skip to content

Instantly share code, notes, and snippets.

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 dkrusky/1ee9b5e6453efe23760aa0dc6dc894a6 to your computer and use it in GitHub Desktop.
Save dkrusky/1ee9b5e6453efe23760aa0dc6dc894a6 to your computer and use it in GitHub Desktop.
Install MySQL APT for Debian 9
#!/bin/bash
apt install dirmngr
apt-key adv --keyserver pgp.mit.edu --recv-keys 5072E1F5
echo 'deb http://repo.mysql.com/apt/debian/ stretch mysql-5.7' > /etc/apt/sources.list.d/mysql.list
apt update
apt upgrade
apt install mysql-community-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment