I found that the root user are now set up to login using unix_socket authentication plugin instead of a password, so one can login as root when using sudo command:
sudo mysql -u root Also, what I did to solve my problem was to create another user, with log in via password and grant all permissions to that user. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1447808 Title: Access denied for user 'root'@'localhost' after upgrading to Ubuntu 15.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mariadb-10.0/+bug/1447808/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs