Unknown error occured when trying to timeshift (1 Viewer)

Spragleknas

Moderator
  • Team MediaPortal
  • December 21, 2005
    9,471
    1,822
    Located
    Home Country
    Norway Norway
    Suddenly* MP-server won't timeshift any channels.

    From log I get:
    Code:
    Gentle.Common.GentleException: show columns from `program` ---> MySql.Data.MySqlClient.MySqlException: Table '.\mptvdb\program' is marked as crashed and should be repaired
    IOW - DB is crapped? Can I repair or de I need to replace/delete?

    *(well, after a windo error when I wswas away - this happens now and then but is normally fixed with a reboot.)
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,418
    4,717
    50
    ::1
    Home Country
    Netherlands Netherlands
    IOW - DB is crapped? Can I repair or de I need to replace/delete?
    Let's try repair first:

    1. Open a command line by clicking start, type "cmd", hit return/enter.
    2. Type cd C:\Program Files\MySQL\MySQL Server 5.1\bin (this should be the path to the bin subdirectory within your MySQL install folder) and hit return/enter.
    3. Type mysqlcheck mptvdb --auto-repair -e -u root -p, and hit return/enter.
    4. A password prompt should appear. The default password is MediaPortal (case sensitive).

    Double check the path, if you're on 5.6 you'll have to adjust it.
     

    Spragleknas

    Moderator
  • Team MediaPortal
  • December 21, 2005
    9,471
    1,822
    Located
    Home Country
    Norway Norway
    FRIGGING GREAT! Need to do a batchscript for this. Btw, is this in the wiki? (If so - sorry for missing it. If not - let's add it!).
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,418
    4,717
    50
    ::1
    Home Country
    Netherlands Netherlands
    Would be nice to have a button for it in config :D
    A button in TV Server Config that runs the script you mean?
    I think we should assume these problems normally never happen :p
    But if they do >> Wiki contains the info ;)
     

    Spragleknas

    Moderator
  • Team MediaPortal
  • December 21, 2005
    9,471
    1,822
    Located
    Home Country
    Norway Norway
    Ah... Yes... Starting to loose control over the development :oops:. I've had my fair screwed DB's - be it MovPic, TVSereies or TV :(.
     

    Users who are viewing this thread

    Top Bottom