id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,mlocked 11096,Settings might be silently reset if DB is unavailable,anonymous@…,,"I noticed that some of my settings (most critically 'ISO639Language0' and 'ISO639Language1') had been reset back to 'eng' (from 'fin'). I started digging in my DB backups and was able to pinpoint a day when this happened. I then found the following entries in the mythconverg.logging table: | SaveSettingOnHost('FreqTable') - No database yet | | SaveSettingOnHost('ISO639Language0') - No database yet | | SaveSettingOnHost('ISO639Language1') - No database yet | | SaveSettingOnHost('TVFormat') - No database yet | | SaveSettingOnHost('VbiFormat') - No database yet | | SaveSettingOnHost('prefDupMethod') - No database yet | | SaveSettingOnHost('Country') - No database yet | | SaveSettingOnHost('DateFormat') - No database yet | | SaveSettingOnHost('EnableMHEG') - No database yet | | SaveSettingOnHost('Language') - No database yet | | SaveSettingOnHost('MythArchiveVideoFormat') - No database yet | | SaveSettingOnHost('ShortDateFormat') - No database yet | | SaveSettingOnHost('TimeFormat') - No database yet | In mythbackend log I found a bunch of DB connection issues (a few seconds later than the logs above): 2012-09-14 18:00:43.237956 E [20573/17377] HttpServer245 mythdbcon.cpp:214 (OpenDatabase) - Driver error was [1/1040]: QMYSQL: Unable to connect Database error was: Too many connections 2012-09-14 18:00:43.238098 I [20573/17386] HttpServer281 mythdbcon.cpp:808 (prepare) - MySQL server disconnected So, it seems that due to the DB connection problems, mythtv reset some of my settings back to their default setting. Proper behavior would be to not override DB settings with default values. In this case, this had quite bad consequences, because I started getting EIT data in the wrong language - thus a lot of recordings based on title were missed.",Bug Report - General,closed,minor,needs_triage,MythTV - General,0.25.2,medium,Trac EOL,,,0