Review

From Bitnami MediaWiki
Revision as of 23:56, 5 February 2021 by User (talk | contribs) (Created page with "===Chapter 1=== MySQL 8 on Ubuntu 20.04 <syntaxhighlight lang='bash'> sudo apt update sudo apt-install mysql-server sudo mysql_secure_installation </syntaxhighlight> Secure op...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Chapter 1

MySQL 8 on Ubuntu 20.04

sudo apt update
sudo apt-install mysql-server
sudo mysql_secure_installation

Secure options:

  • VALIDATE PASSWORD. Forbids insecure passwords. Options are LOW, MEDIUM and STRONG
  • Remove anonymous users
  • Prohibit ("disallow") root login remotely
  • Remove test database and access to it
  • Reload privileges table. (This updates the system to reflect the previously made changes.)