I am trying to execute a command in the mysql console.
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
But I get this error.
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 'BY 'pass'' at line 1
Versions: 10.3.22-MariaDB-1ubuntu1 Ubuntu 20.04
ALTER USER 'root'@'localhost' IDENTIFIED BY 'pass';
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.