[mythtv-users] MySQL too slow in startup?
Mark Wormgoor
mark at wormgoor.com
Sun Mar 20 09:50:49 UTC 2005
Hi,
I am having a problem with MythTV and MySQL on my backend system. MySQL
loads during the initrd process and I start mythbackend in rc.local
(after loading ivtv).
But apparently, MySQL is too slow starting up, since I cannot connect
yet in rc.local.
Mysqld.log shows it is ready:
050320 08:43:59 mysqld started
/usr/libexec/mysqld: ready for connections
But Mythbackend cannot yet connect:
2005-03-20 08:44:06.869 Unable to connect to database!
2005-03-20 08:44:07.190 Driver error was [1/1045]:
QMYSQL3: Unable to connect
Database error was:
Access denied for user: 'mythtv at localhost' (Using password: YES)
Couldn't open database
2005-03-20 08:44:24.198 Unable to connect to database!
2005-03-20 08:44:24.312 Driver error was [1/1045]:
QMYSQL3: Unable to connect
Database error was:
Access denied for user: 'mythtv at localhost' (Using password: YES)
Couldn't open database
When I restart mythbackend later manually, there is no problem. It
seems like MySQL needs a lot of time loading the database. It is a
large database (45MB) compared to the other databases (< 4 MB).
Has anyone seen this before? Is there a way to fix it?
Kind regards,
Mark
More information about the mythtv-users
mailing list