I know this question's been asked already a million times, but I can't connect my database to my back-end in Java. How do I solve this?
I tried to grant all the permissions using this syntax:
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'mypassword'
WITH GRANT OPTION;
both in MySQL Workbench and even from command line, but I get the following errors:
I use windows 11.