Db access during wizard installation stage[Solved, dont use "root"]

At last got to the post install wizard , getting the message

Error

Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost

however

odroid@odroid:/var/www/owncloud$ sudo mysqladmin -u root -p version
Enter password: 
mysqladmin  Ver 9.1 Distrib 10.6.11-MariaDB, for debian-linux-gnueabihf on armv7l
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Server version		10.6.11-MariaDB-0ubuntu0.22.04.1
Protocol version	10
Connection		Localhost via UNIX socket
UNIX socket		/run/mysqld/mysqld.sock
Uptime:			1 hour 57 min 29 sec

Threads: 1  Questions: 58  Slow queries: 0  Opens: 33  Open tables: 26  Queries per second avg: 0.008

password is OK for root
Should I not have used root as the admin user during setup and used “Admin” instead ?
Sorry for the daft qustions I’m pn the vertical section of the learning curve with owncloud and mysql