Maria DB instead of MySQL (1 Viewer)

vapourEyes

Portal Pro
July 31, 2013
151
50
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,765
    10,781
    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
    151
    50
    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
    682
    1,093
    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,765
    10,781
    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,765
    10,781
    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,765
    10,781
    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

    • Sticky
    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 next release. We allocate about one month for Pre Release testing. In that time we will only fix bugs, after which comes the final release! Highlights of this release Bugfixes: [MP1-5201] - Fix MPC-HC...
    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...
    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
    0
    Views
    185
    @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
    609
    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
    4K
    THX for info. 0.62 plugin version doesn't crash with MP 1.31 therefore, it seems to me to be little buggy...
    THX for info. 0.62 plugin version doesn't crash with MP 1.31 therefore, it seems to me to be little buggy...
    Started on: 2023-12-26 last update: 2023-12-26 Summary: Minimize the amount of data written to disk by simulating a tempfs RAM...
    Replies
    4
    Views
    877
    • Sticky
    MP1 MP2 [News] MediaPortal 2 - 2.5 Release DE
    Will be version 2.5.1 ready quite soon? I read somewhere it will be a bugfix release, no new features are probably not in focus.
    Will be version 2.5.1 ready quite soon? I read somewhere it will be a bugfix release, no new features are probably not in focus.
    We are proud to present MediaPortal 2.5 MediaPortal 2.5 is a full-blown media center software that addresses most common user...
    Replies
    70
    Views
    6K
    Top Bottom