<div dir="ltr"><div><div><div><div>From the "it was working fine two minutes ago" department:<br><br></div>I just VNCing into the desktop of my combined FE/BE (.27.5) and while there clicked on the upgrades arrow. The upgrade included a kernel upgrade.<br><br></div>Done that hundreds of times, no problems. Because of the kernel upgrade, the system had to restart. Upon starting I was confronted by the Country, Language page, a check the database setting page and a can't find the database notice.<br><br></div>All the info is the same.<br><br></div><div>ps aux | grep mysql shows the database running<br><br></div><div>The mysql log shows it has started:<br><br>151214 11:53:58 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306<br>151214 11:53:58 [Note]   - '127.0.0.1' resolves to '127.0.0.1';<br>151214 11:53:58 [Note] Server socket created on IP: '127.0.0.1'.<br>151214 11:53:59 [Note] Event Scheduler: Loaded 0 events<br>151214 11:53:59 [Note] /usr/sbin/mysqld: ready for connections.<br>Version: '5.5.46-0ubuntu0.12.04.2'  socket: '/var/run/mysqld/mysqld.sock'  port:<br> 3306  (Ubuntu)<br><br></div><div>The mythbackend log shows:<br></div><div><br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: C thread_unknown mythcommandlineparser.cpp:2595 (ConfigureLogging) mythbackend version: fixes/0.27 [v0.27.5-69-g31b271b] <a href="http://www.mythtv.org">www.mythtv.org</a><br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: C thread_unknown mythcommandlineparser.cpp:2597 (ConfigureLogging) Qt version: compile: 4.8.1, runtime: 4.8.1<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: N thread_unknown mythcommandlineparser.cpp:2599 (ConfigureLogging) Enabled verbose msgs:  general<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: N thread_unknown logging.cpp:907 (logStart) Setting Log Level to LOG_INFO<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated handler<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Segmentation fault handler<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Aborted handler<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Floating point exception handler<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Illegal instruction handler<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Real-time signal 0 handler<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: N thread_unknown mythdirs.cpp:55 (InitializeMythDirs) Using runtime prefix = /usr<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: N thread_unknown mythdirs.cpp:68 (InitializeMythDirs) Using configuration directory = /home/mythtv/.mythtv<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I CoreContext mythcorecontext.cpp:257 (Init) Assumed character encoding: en_CA.UTF-8<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: N CoreContext mythcontext.cpp:504 (LoadDatabaseSettings) Empty LocalHostName.<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I CoreContext mythcontext.cpp:512 (LoadDatabaseSettings) Using localhost value of buster<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I CoreContext mythcontext.cpp:693 (TestDBconnection) Testing network connectivity to '192.168.1.145'<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I Logger logging.cpp:308 (run) Added logging to the console<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I SystemIOHandlerW mythsystemunix.cpp:91 (run) Starting IO manager (write)<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I SystemIOHandlerR mythsystemunix.cpp:91 (run) Starting IO manager (read)<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I SystemSignalManager mythsystemunix.cpp:510 (run) Starting process signal handler<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I SystemManager mythsystemunix.cpp:275 (run) Starting process manager<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I LogForward loggingserver.cpp:1373 (forwardMessage) New Client:  (#1)<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: I LogForward loggingserver.cpp:295 (SyslogLogger) Added syslogging<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: E CoreContext mythdbcon.cpp:216 (OpenDatabase) Unable to connect to database!<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: E CoreContext mythdbcon.cpp:217 (OpenDatabase) Driver error was [1/2003]:#012QMYSQL: Unable to connect#012Database error was:#012Can't connect to MySQL server on '192.168.1.145' (111)<br>Dec 14 11:54:00 buster mythbackend: mythbackend[2750]: C CoreContext main.cpp:129 (main) Failed to init MythContext<br><br></div><div>So mysql's running but were not getting a connection. Never seen this happen in a reboot before. What should I be checking next?<br></div><div><br></div></div>