I really don’t know anything about Mariadb. But others in this forum may be able to answer that. Also, you can try Mariadb forums. I guess it would depend on the version of Mysql. I believe that is the reason there was the fork in the first place.
I will post some commands for Mysql8 as soon as I find them, if you would like to keep trying it.
BTW, I could not get mysql8 to work from a different host.
In Mysql8, you can no longer create a user with the GRANT command.
Here are some useful commands you may be able to use for mysql8. They are correct as of the date of this post.
This must be in your my.cnf file, under [mysqld]:
default-authentication-plugin = mysql_native_password
these are the commands for the mysql command line:
CREATE USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘secretpassword’;
GRANT ALL ON . TO ‘root’@‘localhost’;
Flush priviledges is no longer needed!