mariadb-server

How to set the password

mysql -u root -p 
UPDATE mysql.user SET authentication_string = PASSWORD('s0mePassword'), plugin = 'mysql_native_password' WHERE User = 'root' AND Host = 'localhost';
FLUSH PRIVILEGES;

160 total views, 1 views today

Print Friendly