Problem installing MariaDB

“I’m trying to install MariaDB. I’m following the steps from the Arch Linux wiki. When I try to create the user, I get the following message:”

mariadb -u root -p                                                                                                          ✔ 
Enter password: 
ERROR 1698 (28000): Access denied for user 'root'@'localhost'

Usually # command as in

# mariadb -u root -p

means you run it as root.

I solve my problem with this video.

This is not the system root user but mariadb root user - huge difference - mariadb root user password is empty upon installation.