Skip to content

Instantly share code, notes, and snippets.

@bndynet
Last active May 21, 2018 06:21
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 bndynet/5ea2a03f45ec368aa0415698ff95a2bc to your computer and use it in GitHub Desktop.
Save bndynet/5ea2a03f45ec368aa0415698ff95a2bc to your computer and use it in GitHub Desktop.
MySQL Knowledge

Records complex knowledge about MySQL


Installation

Using the MySQL Yum Repository

shell> sudo yum localinstall mysql57-community-release-el7-{version-number}.noarch.rpm
shell> yum repolist enabled | grep "mysql.*-community.*"
shell> yum repolist all | grep mysql
shell> sudo yum-config-manager --disable mysql57-community
shell> sudo yum-config-manager --enable mysql56-community
shell> yum repolist enabled | grep mysql
shell> sudo yum install mysql-community-server
shell> sudo service mysqld start
shell> sudo service mysqld status

Securing the MySQL Installation

shell> mysql_secure_installation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment