[Bug 1435709] Re: mysql.service fail to start after upgrade to mysql-server.5.6
** Changed in: mysql-5.6 (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1435709 Title: mysql.service fail to start after upgrade to mysql-server.5.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435709/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1435709] Re: mysql.service fail to start after upgrade to mysql-server.5.6
** Changed in: mysql-5.6 (Ubuntu) Assignee: (unassigned) => Lars Tangvald (lars-tangvald) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1435709 Title: mysql.service fail to start after upgrade to mysql-server.5.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435709/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1435709] Re: mysql.service fail to start after upgrade to mysql-server.5.6
Same problem for me too. A workaround for me is: sudo mysql_install_db --user=mysql --basedir=/usr/ --ldata=/var/lib/mysql/ Source from https://wiki.archlinux.org/index.php/MySQL#Installation -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1435709 Title: mysql.service fail to start after upgrade to mysql-server.5.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435709/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1435709] Re: mysql.service fail to start after upgrade to mysql-server.5.6
Would it probably make sense to backport the systemd-related improvements [1] from 5.7 to 5.6. Although they're not perfect yet, they're a huge improvement compared to the current hacks required to make mysqld behave more or less sane in systemd environments. [1] http://mysqlserverteam.com/mysql-5-7-native-systemd-support/ -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1435709 Title: mysql.service fail to start after upgrade to mysql-server.5.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435709/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1435709] Re: mysql.service fail to start after upgrade to mysql-server.5.6
Also, note that I had to add return 0 to the pinger() function: /usr/share/mysql/mysql-systemd-start Maybe this function should be written in a way that it provides feedback: pinger () { while /bin/true ; do sleep 1 mysqladmin ping /dev/null 21 break logger -p daemon.info $0 sleeping for 1 second... done } -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1435709 Title: mysql.service fail to start after upgrade to mysql-server.5.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435709/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1435709] Re: mysql.service fail to start after upgrade to mysql-server.5.6
Any workarounds for this? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1435709 Title: mysql.service fail to start after upgrade to mysql-server.5.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435709/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1435709] Re: mysql.service fail to start after upgrade to mysql-server.5.6
The new options are: $ cat /etc/mysql/my.cnf|grep slow slow_query_log = 1 slow_query_log_file = /var/log/mysql/mysql-slow.log -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1435709 Title: mysql.service fail to start after upgrade to mysql-server.5.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435709/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1435709] Re: mysql.service fail to start after upgrade to mysql-server.5.6
Ok, I made it work. From /var/log/mysql/error.log: 2015-04-08 11:37:13 1441 [ERROR] /usr/sbin/mysqld: unknown variable 'log_slow_queries=/var/log/mysql/mysql-slow.log' 2015-04-08 11:37:13 1441 [ERROR] Aborting 2015-04-08 11:37:13 1441 [Note] Binlog end After commenting out this line, it works: $ cat /etc/mysql/my.cnf|grep log_slow #log_slow_queries = /var/log/mysql/mysql-slow.log -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1435709 Title: mysql.service fail to start after upgrade to mysql-server.5.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435709/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1435709] Re: mysql.service fail to start after upgrade to mysql-server.5.6
Also affects me. It seems that a file, containing ''' d /var/run/mysqld 0755 mysql mysql - ''' is missing in /etc/tmpfiles.d. See: https://bugzilla.redhat.com/show_bug.cgi?id=894750 ** Bug watch added: Red Hat Bugzilla #894750 https://bugzilla.redhat.com/show_bug.cgi?id=894750 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1435709 Title: mysql.service fail to start after upgrade to mysql-server.5.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435709/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1435709] Re: mysql.service fail to start after upgrade to mysql-server.5.6
** Changed in: mysql-5.6 (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1435709 Title: mysql.service fail to start after upgrade to mysql-server.5.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435709/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1435709] Re: mysql.service fail to start after upgrade to mysql-server.5.6
*** This bug is a duplicate of bug 1421303 *** https://bugs.launchpad.net/bugs/1421303 I don't see a version number stated anywhere in your bug report, but I presume you were using 5.6.23-1~exp1~ubuntu3. Presumed fixed in bug 1421303 (5.6.23-1~exp1~ubuntu4). Please comment if this is incorrect. ** This bug has been marked a duplicate of bug 1421303 mysql does not import apparmor profile correctly -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1435709 Title: mysql.service fail to start after upgrade to mysql-server.5.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435709/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1435709] Re: mysql.service fail to start after upgrade to mysql-server.5.6
Oh, I've found it here. ** This bug is no longer a duplicate of bug 1421303 mysql does not import apparmor profile correctly -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1435709 Title: mysql.service fail to start after upgrade to mysql-server.5.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435709/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1435709] Re: mysql.service fail to start after upgrade to mysql-server.5.6
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: mysql-5.6 (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1435709 Title: mysql.service fail to start after upgrade to mysql-server.5.6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1435709/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs