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,386
    11,543
    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

    Retired Team Member
  • Premium Supporter
  • August 19, 2010
    844
    1,328
    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,386
    11,543
    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,386
    11,543
    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,386
    11,543
    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


    Write your reply...

    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
    5K
    • Sticky
    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
    603
    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
    970
    • Sticky
    Upgrade install on MP 1.36 x64 proceeded without issue, everything I have tried so far is working and looking very good. Many Thanks(y):)
    Upgrade install on MP 1.36 x64 proceeded without issue, everything I have tried so far is working and looking very good. Many...
    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
    513
    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
    2K
    Top Bottom