Maria DB instead of MySQL (1 Viewer)

vapourEyes

Portal Pro
July 31, 2013
154
52
Home Country
United Kingdom United Kingdom
Mmm... the plot thickens.

Are you able to report your MariaDB version too ?

It could be a plugin. I only have a few...
WorldWeather.
Sleep Timer.
 

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    @Pablik Do you have any ideas?
    This is clearly related to the MySQL library. But we updated it. Or maybe it can be updated to a newer version. It seems to me that something similar was discussed in the MPSync thread.
     

    vapourEyes

    Portal Pro
    July 31, 2013
    154
    52
    Home Country
    United Kingdom United Kingdom
    There is a solution to this problem, highlighted on Stack Exchange for a different product.


    Its to detect the null field / data and cast to a concrete type, as shown in the solution above.
    I'll refrain from posting more, until @Pablik has had half a chance to answer and contribute.
     

    Pablik

    Development Group
  • Team MediaPortal
  • August 19, 2010
    718
    1,161
    Home Country
    Czech Republic Czech Republic
    @Pablik Do you have any ideas?
    This is clearly related to the MySQL library. But we updated it. Or maybe it can be updated to a newer version. It seems to me that something similar was discussed in the MPSync thread.
    The problem lies in 'information_schema' table. MariaDB has the uca1400* records without ID(null). When the MySql.Data.dll(not part of the MediaPortal) library is executing "SHOW COLLATIONS" cmd and subsequently reads the records, then rises exception when converting ID(null) to int32.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    The problem lies in 'information_schema' table. MariaDB has the uca1400* records without ID(null). When the MySql.Data.dll(not part of the MediaPortal) library is executing "SHOW COLLATIONS" cmd and subsequently reads the records, then rises exception when converting ID(null) to int32.
    Can we somehow fix this on our side? We use the old Gentle library, but it uses the latest version of the MySQL library that I could find for our Framework.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    When the MySql.Data.dll(not part of the MediaPortal) library is executing "SHOW COLLATIONS" cmd and subsequently reads the records, then rises exception when converting ID(null) to int32
    I read about this problem, everyone writes that the easiest way is to switch from MySql.Data.MySqlClient to MySqlConnector.
    I wonder how difficult this is for us at the moment. But if we switch, they promise an increase in speed and stability. Overall an interesting option.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    I found this information. @Pablik , can we use it somehow?

    This is where it gets interesting:

     

    Users who are viewing this thread

    Similar threads

    I eventually came across the TwinHan driver CD that was included with the original product. The CD contains numerous drivers for the different TwinHan tuner models, but the drivers are for Win 2K (32-bit only) and Win XP (32-bit and 64-bit). The drivers install directly on Vista, and the drivers can be installed on Win 7 and Win 10...
    I eventually came across the TwinHan driver CD that was included with the original product. The CD contains numerous drivers for...
    Hi, went from a 1.29 install (working, reinstalled for other reasons) on a fairly fresh and fully updated Windows 10 system for a...
    Replies
    24
    Views
    2K
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
    Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
    Replies
    5
    Views
    496
    • Sticky
    All good now!!
    All good now!!
    We have just released MediaPortal 1.36 - Polar Express x86 and x64 version. Highlights of this release Bugfixes: [MP1-5229] -...
    Replies
    2
    Views
    480
    Maybe they only show the bits information for the x64 version and no bits information for the 32-bit version?
    Maybe they only show the bits information for the x64 version and no bits information for the 32-bit version?
    We have just released MediaPortal 1.34 - Dune x86 and x64 version. Highlights of this release Bugfixes: [MP1-5201] - Fix MPC-HC...
    Replies
    10
    Views
    4K
    I can't believe I missed the new feature, pixel shaders. :) Thankyou guys for all your work (y)
    I can't believe I missed the new feature, pixel shaders. :) Thankyou guys for all your work (y)
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    1
    Views
    2K
    Top Bottom