[mythtv-commits] Ticket #13356: mysql fails

MythTV noreply at mythtv.org
Sat Dec 8 13:39:00 UTC 2018


#13356: mysql fails
--------------------------------------+--------------------------
     Reporter:  paul                  |      Owner:  (none)
         Type:  Bug Report - General  |     Status:  new
     Priority:  blocker               |  Milestone:  needs_triage
    Component:  MythTV - General      |    Version:  v29.1
     Severity:  high                  |   Keywords:
Ticket locked:  0                     |
--------------------------------------+--------------------------
 mythdbconn.cpp tries to "SELECT
 COUNT(INFORMATION_SCHEMA.TABLES.TABLE_NAME) FROM INFORMATION_SCHEMA.TABLES
 WHERE INFORMATION_SCHEMA.TABLES.TABLE_SCHEMA = DATABASE() AND
 INFORMATION_SCHEMA.TABLES.TABLE_TYPE = 'BASE TABLE';"

 mysql 8.0.13 fails: "ERROR 1054 (42S22): Unknown column
 'INFORMATION_SCHEMA.TABLES.TABLE_NAME' in 'field list'"

 mythbackend fails to start.

 Changing it to simply "SELECT COUNT(TABLE_NAME) FROM
 INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = DATABASE() AND TABLE_TYPE =
 'BASE TABLE';" would provide a fix.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13356>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list