-2
When I’m at the linux terminal, on my machine and give the command :
mysql -u root -p
The linux terminal presents :
ERROR 1698 (28000): Access denied for user 'root'@'localhost'
With sudo before the command, I can log in, however, what appears on my screen are line-log-in mariaDB
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 19
Server version: 10.1.37-MariaDB-0+deb9u1 Debian 9.6
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
Right, but what’s your question about that?
– riki481
Only run sudo mysql that will directly log in and configure
– Lucas Antonio