Maria DB instead of MySQL (3 Viewers)

vapourEyes

Portal Pro
July 31, 2013
165
58
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,959
    13,420
    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
    165
    58
    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

    Retired Team Member
  • Premium Supporter
  • August 19, 2010
    837
    1,332
    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,959
    13,420
    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,959
    13,420
    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,959
    13,420
    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

    Hi, I didn't have SQL problems but just wanted to agree that on my Win7 system, a clean install of 1.36 TV server x86 does not work since it won't start the TV server configuration. Installing 1.33 first and upgrading to1.36 fixed the problem. Eggert
    Hi, I didn't have SQL problems but just wanted to agree that on my Win7 system, a clean install of 1.36 TV server x86 does not...
    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
    26
    Views
    9K
    • Sticky
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not relevant to the plugin itself (test, some leftover unused parts etc).
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not...
    We have just released MediaPortal 1.38 - Tatiana & Leo x86 and x64 version. Highlights of this release Bugfixes: New...
    Replies
    37
    Views
    10K
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    We have just released MediaPortal 1.37 - Willow x86 and x64 version. Highlights of this release Bugfixes: [MP1-5232] - GPU...
    Replies
    4
    Views
    3K
    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
    2K
    To other people reading about this 'issue', Doskabouter provided me with a fix/patch. It is a modified version of tswriter.ax which solved the problem with dolby digital plus audio. I want to thank Doskabouter for all his time and energy he put into resolving this!!
    To other people reading about this 'issue', Doskabouter provided me with a fix/patch. It is a modified version of tswriter.ax which...
    Hi all, I could use some help with the following; OS: Win11 24H2 TV server: 1.37.000.0|x64 (working with Mediaportal for maybe 20...
    Replies
    4
    Views
    3K
    Top Bottom