systemctl start mariadb # start MariaDB
systemctl STOP Stop # MariaDB MariaDB
systemctl restart # restart MariaDB MariaDB
systemctl enable MariaDB # Set boot
change Password
Edit user table directly using UPDATE
First log in MySQL.
use mysql;
update user set password=password('123') where user='root' and host='localhost';
flush privileges;