User Tools

Site Tools


mysql:installatie

installatie

context

dit document beschrijft de installatie van MySQL op Ubuntu 20.02

stappenplan

  1. apt get install mysql-server
  2. stel wachtwoord in van gebruiker root:
    ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '<wachtwoord>';
  3. beveilig MySQL:mysql_secure_installation
    1. validate password component: Y
    2. Level password Validation: 2
    3. Change password for root: N
    4. remove an anonymous user: Y
    5. disallow root login remotely: Y
    6. remove the test database: Y
    7. reload privilege tables now: Y

meer info

mysql/installatie.txt · Last modified: 2024/11/16 18:14 by 127.0.0.1