java.sql.sqlexception: acceso denegado para el usuario
You have to grant priviliges to root@localhost
e.g
GRANT ALL PRIVILIGES ON *.* TO 'root'@'localhost' IDENTIFIED BY password
(*.*: means everything, it can be modified to some specific DB or opertations)
Gorgeous Goldfinch