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
    15,963
    11,004
    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
    700
    1,125
    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
    15,963
    11,004
    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
    15,963
    11,004
    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
    15,963
    11,004
    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

    Having exactly this issue upon performing a clean install of MediaPortal 1.34 64 bit on a clean Windows 11 install, off to try 1.33
    Having exactly this issue upon performing a clean install of MediaPortal 1.34 64 bit on a clean Windows 11 install, off to try 1.33
    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
    1
    Views
    309
    • Sticky
    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
    3K
    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
    @Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is completey broken with NET4 and NET6 :( Neither an existing profile can be selected nor a new one can be created.
    @Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is...
    Description: Hi there. First of all, I appreciate all the effort in MediaPortal 2 release 2.5 - visible changes look great (eg...
    Replies
    1
    Views
    804
    Works also, removed the "section" entry from MediaPortal.xml ;) (y)
    Works also, removed the "section" entry from MediaPortal.xml ;) (y)
    This plugin is alternate version to the original World Weather plugin developed by @Micropolis. Is compatible with MediaPortal...
    Replies
    33
    Views
    5K
    Top Bottom