Answers for "Access denied for user 'root'@'localhost' details: { code: 'ER_ACCESS_DENIED_NO_PASSWORD_ERROR', errno: 1698, sqlState: '28000', sqlMessage: "Access denied for user 'root'@'localhost'" }"

SQL
8

mysql access denied for user 'root'@'localhost'

sudo mysql

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
Posted by: Guest on January-02-2021

Code answers related to "Access denied for user 'root'@'localhost' details: { code: 'ER_ACCESS_DENIED_NO_PASSWORD_ERROR', errno: 1698, sqlState: '28000', sqlMessage: "Access denied for user 'root'@'localhost'" }"

Code answers related to "SQL"

Browse Popular Code Answers by Language