Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

java.sql.sqlexception: access denied for user

You can flush the root user's priviliges in mysql cli.

> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
> FLUSH PRIVILEGES;
 
PREVIOUS NEXT
Tagged: #access #denied #user
ADD COMMENT
Topic
Name
5+1 =