I am also facing the same problem after freshly installing mariadb in Kubuntu 15.04. I am able to get mysql shell with root account but not with my user account.
root@alok-PORTEGE-R30-A:~# mysql -u root -proot #is owrking alok@alok-PORTEGE-R30-A:~$ mysql -u root -proot #not wokring ERROR 1698 (28000): Access denied for user 'root'@'localhost' also my java jdbc driver also not able to connect -- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
