I find systemd loses track of starting mariadb-server-10.0 because
/etc/mysql/debian-start fails because 'root'@'localhost' needs to have a
password set for legacy code.  There used to be a `debian-sys-maint'
user and /etc/mysql/debian.cnf could be changed to run as that user
instead of root, but that user no longer exists.

Grabbing an existing user@host combination and mandating the access
method used is a bit of a cheek.  A new user can't clash;  can we have
debian-sys-maint back?

I ended up leaving user as root in /etc/mysql/debian.cnf and putting the
needed password in there.  Then /etc/mysql/debian-start succeeds and
`systemctl status mysql' correctly tracks it's "active (running)".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1445549

Title:
  systemctl start mysql.service starts mariadb but reports failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.0/+bug/1445549/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to