Не получается сменить пароль ROOT mariadb 10.1.23 на DEBIAN 9
Ввожу:
MariaDB [mysql]> ALTER USER 'root'@'localhost' IDENTIFIED BY 'newpassord';
Выдаёт:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'USER 'root'@'localhost' IDENTIFIED BY 'newpassord" at line 1
Опишите пожалуйста, подробно, как сменить пароль root ?