Hi,
Sounds like a possible failed MySQL installation. Lets take a look.
Can you run the following commands please, then paste results:
systemctl status mysql.service
dietpi-software list | grep =2
Edit: I see you made two posts, is the issue now resolved as per: Issue with phpBB3 and SQL