Permalink
Browse files

Add hint for MySQL timezone error.

This adds a comment to the logs about mysql_tzinfo_to_sql for how to
apply the necessary time zone information to MySQL during startup.

Fixes #10906
  • Loading branch information...
1 parent fb9b725 commit 451cd30c6a64c7231482cbc506ed0a8680e4379b @wagnerrp wagnerrp committed Jul 13, 2012
Showing with 8 additions and 4 deletions.
  1. +4 −2 mythtv/programs/mythbackend/main_helpers.cpp
  2. +4 −2 mythtv/programs/mythtv-setup/main.cpp
@@ -531,8 +531,10 @@ int run_backend(MythBackendCommandLineParser &cmdline)
{
if (!DBUtil::CheckTimeZoneSupport())
{
- LOG(VB_GENERAL, LOG_ERR, "MySQL time zone support is missing. "
- "Please install it and try again.");
+ LOG(VB_GENERAL, LOG_ERR,
+ "MySQL time zone support is missing. "
+ "Please install it and try again. "
+ "See 'mysql_tzinfo_to_sql' for assistance.");
return GENERIC_EXIT_DB_NOTIMEZONE;
}
@@ -519,8 +519,10 @@ int main(int argc, char *argv[])
if (!DBUtil::CheckTimeZoneSupport())
{
- LOG(VB_GENERAL, LOG_ERR, "MySQL time zone support is missing. "
- "Please install it and try again.");
+ LOG(VB_GENERAL, LOG_ERR,
+ "MySQL time zone support is missing. "
+ "Please install it and try again. "
+ "See 'mysql_tzinfo_to_sql' for assistance.");
return GENERIC_EXIT_DB_NOTIMEZONE;
}

0 comments on commit 451cd30

Please sign in to comment.