[mythtv-commits] Ticket #12871: optimize_mythdb.pl failing

MythTV noreply at mythtv.org
Wed Sep 7 11:13:06 UTC 2016


#12871: optimize_mythdb.pl failing
---------------------------+-----------------------------------------------
 Reporter:  jasonh@…       |          Owner:
     Type:  Bug Report -   |         Status:  closed
  General                  |
 Priority:  minor          |      Milestone:  0.28.1
Component:  MythTV -       |        Version:  Master Head
  General                  |
 Severity:  medium         |     Resolution:  Feature request without patch
 Keywords:                 |  Ticket locked:  0
---------------------------+-----------------------------------------------
Changes (by mdean):

 * status:  new => closed
 * resolution:   => Feature request without patch


Comment:

 Your MySQL server is configured to use strict mode (specifically
 NO_ZERO_DATE and/or NO_ZERO_IN_DATE), but MythTV uses zero dates as
 defaults for some fields.

 See:
 https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html

 I'm marking as feature request without patch because adding support for
 running MythTV against a database server using NO_ZERO_DATE or
 NO_ZERO_IN_DATE mode requires additional coding--either explicitly
 specifying mode for each connection (as at [dd2d7a14d] ) or changing the
 MythTV database schema.

 If you disable NO_ZERO_DATE and NO_ZERO_IN_DATE (which, for MySQL 5.7.4
 through 5.7.7 requires disabling STRICT_ALL_TABLES and
 STRICT_TRANS_TABLES) on your MySQL server configuration, the MythTV
 database schema will work properly.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12871#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list