home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MySQL option
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="samposoft" data-source="post: 108542" data-attributes="member: 29191"><p><strong>TVEngine on MySQL</strong></p><p></p><p>I currently use TVEngine on MySQL 5.0.26 and it's works.<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /> </p><p></p><p>you can download my sql script to create db from </p><p><a href="http://www.samposoft.it/database.zip" target="_blank">http://www.samposoft.it/database.zip</a></p><p></p><p>I have use MyIsam table for best performance.</p><p></p><p>I have made some modification to the TVLibraty project to add the latest reference to </p><p>Gentle-1.2.9 DLL because in SVN are 2 missing dll</p><p>Gentle.Provider.MySQL.dll</p><p>MySql.Data.dll</p><p></p><p>I have removed in all project reference to </p><p>Gentle.Provider.SQLServer.dll</p><p>because Gentle.Framework load dynmically these dll based on Gentle.config configuration.</p><p></p><p></p><p><a href="http://www.samposoft.it/Gentle129Dll.zip" target="_blank">http://www.samposoft.it/Gentle129Dll.zip</a></p><p></p><p>The only bug that i found in source code is in</p><p></p><p>TVLibrary\TVDatabase\Channel.cs</p><p>TVLibrary\TVDatabase\TvBusinessLayer\BusinessLayer.cs</p><p></p><p>that format bad datetime string in query "yyyyMMdd HH:mm:ss"</p><p>I've changed to "yyyy-MM-dd HH:mm:ss"</p><p>I think that SQLserver support this format (is more flexible).</p><p></p><p>I have also commented code in</p><p></p><p>TVLibrary\SetupTv\Startup.cs</p><p></p><p>[CODE] //SetupDatabaseForm dlg = new SetupDatabaseForm();</p><p> //if (!dlg.TestConnection())</p><p> //{</p><p> // dlg.ShowDialog();</p><p> //}</p><p> //if (dlg.ShouldDoUpgrade())</p><p> //{</p><p> // dlg.CreateDatabase();</p><p> //}[/CODE]</p><p></p><p>because the SetupDatabaseForm works only for SQLServer and use System.Data.SqlClient.</p><p></p><p>The next step is to create a new SetupDatabaseForm for support MySQL or SQLServer.</p><p>I think that is very simple...</p></blockquote><p></p>
[QUOTE="samposoft, post: 108542, member: 29191"] [b]TVEngine on MySQL[/b] I currently use TVEngine on MySQL 5.0.26 and it's works.:D you can download my sql script to create db from [URL="http://www.samposoft.it/database.zip"]http://www.samposoft.it/database.zip[/URL] I have use MyIsam table for best performance. I have made some modification to the TVLibraty project to add the latest reference to Gentle-1.2.9 DLL because in SVN are 2 missing dll Gentle.Provider.MySQL.dll MySql.Data.dll I have removed in all project reference to Gentle.Provider.SQLServer.dll because Gentle.Framework load dynmically these dll based on Gentle.config configuration. [URL="http://www.samposoft.it/Gentle129Dll.zip"]http://www.samposoft.it/Gentle129Dll.zip[/URL] The only bug that i found in source code is in TVLibrary\TVDatabase\Channel.cs TVLibrary\TVDatabase\TvBusinessLayer\BusinessLayer.cs that format bad datetime string in query "yyyyMMdd HH:mm:ss" I've changed to "yyyy-MM-dd HH:mm:ss" I think that SQLserver support this format (is more flexible). I have also commented code in TVLibrary\SetupTv\Startup.cs [CODE] //SetupDatabaseForm dlg = new SetupDatabaseForm(); //if (!dlg.TestConnection()) //{ // dlg.ShowDialog(); //} //if (dlg.ShouldDoUpgrade()) //{ // dlg.CreateDatabase(); //}[/CODE] because the SetupDatabaseForm works only for SQLServer and use System.Data.SqlClient. The next step is to create a new SetupDatabaseForm for support MySQL or SQLServer. I think that is very simple... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MySQL option
Contact us
RSS
Top
Bottom