If you are getting this error
#1045 – Access denied for user: ‘root’@’localhost’ (Using password: Yes)
You need to grant access to localhost to your Root user.
In your console login to mysql and then launch the next query as root.
GRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY 'YOURPASSWORDHERE' WITH GRANT