/etc/mysql/conf.d/mythtv-tweaks.cnf: table_cache = 128

Bug #1575864 reported by James Sinton
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mythbuntu
New
Undecided
Unassigned

Bug Description

When running mysqld 5.7.12-0ubuntu1 on 16.04, the config file /etc/mysql/conf.d/mythtv-tweaks.cnf has a deprecated variable. As a result, mysqld fails to start, as seen from this error.log excerpt:

2016-04-27T01:05:43.561013Z 0 [ERROR] unknown variable 'table_cache=128'
2016-04-27T01:05:43.561034Z 0 [ERROR] Aborting

Commenting this variable out or replacing it with "table_open_cache = 128" fixes it.

Revision history for this message
Richard Kershenbaum (richard-dblhouse) wrote :

I had done a clean install of MythBuntu 16.04, bringing across the database and recordings from my old installation. Everything worked fine until I updated the installation using the MythTV fixes branch and Mythbuntu updates. When I rebooted, the backend failed to start.

Revision history for this message
Mark Hamblin (5-mark-8) wrote :

I to adapted the clean 16.04 build,.. and imported a 0.27 database,... everything went smoothly until I applied the SQL tweaks,.. and the pc rebooted,... SQL then failed to start...

Editing the mythtv-tweaks.cnf file fixed it for me,.. comment out the table_cache line and add table_open_cache.

You can confirm this is your error by looking in the /var/log/mysql/error.log,....

tx guys for the simple fix

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.