Failed to connect to NC

Yes, this is because:

Maybe it is this you should aiming for. Can you fix that?

Afterwards check if the database starts again:

systemctl start mariadb