Setting up mariadb

The last stage of passbolt-configure script (v4.2) returns such a message

=====================
Setting up mariadb…
=====================
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)
=============================================
Unable to setup mariadb please check manually
=============================================

I have already installed twice CE version without any issues. This time PRO trial generated such a problem . Some hints please …

Is this a completely fresh server or are you following the upgrade instructions?

Also which distribution are you installing on here?

A fresh one . It is Oracle Enterprise Linux 8.7

well, after some investigation I have a small progress .
I am able to login as root to mysql - it works .
But when passbolt-configure starts configure mariadb it returns :

=====================
Setting up mariadb…
=====================
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)
===========================================================
Trying to connect to to mariadb with provided credentials…
===========================================================
================================================================================
Installation is almost complete. Please point your browser to

any ideas why ?

My SSL configuration has been already done - it works well as well.