Install Maria DB on Pi
nstall MariaDB:
sudo apt install mariadb-server php-mysql -y
sudo service apache2 restart
sudo mysql_secure_installation
- Set root password? -> Y
- Remove anonymous users? -> Y
- Disallow root login remotely? -> N
- Remove test database and access to it? -> N
- Reload privilege tables now? -> Y