[mythtv-commits] Ticket #12713: Mythweb fails with mysql Server version: 5.7.11-0ubuntu5
MythTV
noreply at mythtv.org
Tue Apr 12 14:28:15 UTC 2016
#12713: Mythweb fails with mysql Server version: 5.7.11-0ubuntu5
----------------------------------+------------------------
Reporter: jksjdevelop@… | Owner: kormoc
Type: Bug Report - General | Status: new
Priority: minor | Milestone: 0.29
Component: Plugin - MythWeb | Version: 0.28
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+------------------------
Comment (by jksjdevelop@…):
Replying to [comment:2 jksjdevelop@…]:
> A surprising move to 0.29 if mysql 5.7 is the default for Xenial.
> However an easy fix is to unset the ONLY_FULL_GROUP_BY option which is
set in 5.7. This can be done by setting sql_mode to only the other default
modes in mythtv.cnf.
> so edit /etc/mysql/conf.d/mythtv.cnf and add the last line to the
exisiting contents so the new file reads :-
>
>
> {{{
> [mysqld]
> #bind-address=0.0.0.0
> max_connections=100
>
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
> }}}
>
Correction - this still fails with a date-time error when creating a
recording - reduce the options to only those present in 5.5.
{{{
[mysqld]
#bind-address=0.0.0.0
max_connections=100
sql_mode=NO_ENGINE_SUBSTITUTION
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12713#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list