[mythtv-commits] Ticket #13289: Fail to access DB (but mythweb and backend work!)
MythTV
noreply at mythtv.org
Sun Jun 3 13:14:40 UTC 2018
#13289: Fail to access DB (but mythweb and backend work!)
-------------------------------------------------+-------------------------
Reporter: grandmastermarclar | Owner: stuartm
Type: Bug Report - Hang/Deadlock | Status: new
Priority: major | Milestone: 30.0
Component: MythTV - Mythfilldatabase | Version:
Severity: medium | Resolution:
Keywords: mythconverg, mythfrontend, mythtv- | Ticket locked: 0
setup, mythfilldatabase |
-------------------------------------------------+-------------------------
Comment (by grandmastermarclar):
After amending the IP address in mythtv-setup (from 192.168.1.234 to
192.168.1.234, yes the same), then save and exit, mythtv-setup.log shows:
{{{
Jun 3 14:08:08 babylon mythtv-setup.real: mythtv-setup[11636]: I
CoreContext mythcontext.cpp:895 (TestDBconnection) Start up testing
connections. DB 192.168.1.234, BE , attempt 0, status start
Jun 3 14:08:09 babylon mythtv-setup.real: mythtv-setup[11636]: I
CoreContext mythcontext.cpp:895 (TestDBconnection) Start up testing
connections. DB 192.168.1.234, BE , attempt 1, status start
Jun 3 14:08:09 babylon mythtv-setup.real: mythtv-setup[11636]: I
CoreContext mythmainwindow.cpp:2996 (LockInputDevices) Locking input
devices
Jun 3 14:08:09 babylon mythtv-setup.real: mythtv-setup[11636]: N
CoreContext mythmainwindow.cpp:3055 (PauseIdleTimer) Suspending idle timer
Jun 3 14:08:11 babylon mythtv-setup.real: mythtv-setup[11636]: E
CoreContext mythdbcon.cpp:895 (prepare) Error preparing query: SELECT data
FROM settings WHERE value = :KEY AND hostname = :HOSTNAME
Jun 3 14:08:11 babylon mythtv-setup.real: mythtv-setup[11636]: E
CoreContext mythdbcon.cpp:897 (prepare) Driver error was
[2/2013]:#012QMYSQL3: Unable to prepare statement#012Database error
was:#012Lost connection to MySQL server during query
Jun 3 14:08:11 babylon mythtv-setup.real: mythtv-setup[11636]: I
CoreContext mythdbcon.cpp:267 (Reconnect) MySQL reconnected successfully
}}}
...but on screen it is just trying to wake up the database. Odd, as I can
still log in using:
{{{
ian at babylon:~$ mysql -u mythtv -pmythtv -h 192.168.1.234 mythconverg
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13289#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list