| |||||||
| Development You want to code something for the TV-Server? Share it in here! |
![]() |
| | Thread Tools | Display Modes |
| | #11 (permalink) |
| Portal Developer Join Date: Apr 2004 Location: The Netherlands Age: 37
Posts: 1,516
Thanks: 3
Thanked 119 Times in 44 Posts
Country: | sounds good! please upload the modified/new sources here: http://sourceforge.net/tracker/?grou...97&atid=647927 or mail them to e.beckers@gmail.com |
| | |
| | #13 (permalink) | |
| Portal Member | Quote:
| |
| | |
| | #15 (permalink) |
| Portal Member Join Date: Jan 2007 Age: 28
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | OK there are several issues with the version 20 of the database.sql Too long table names is the biggest issue. For now i'll stop my coding until we find a universal solution. Sorry...I know some of you hoped I could make an universal setup for MySQL... |
| | |
| | #17 (permalink) | |
| Portal Developer Join Date: Apr 2004 Location: The Netherlands Age: 37
Posts: 1,516
Thanks: 3
Thanked 119 Times in 44 Posts
Country: | Quote:
is mysql that bad that it dont even support a table name of 16 characters (the table names 'CanceledSchedule' is the longest atm in the tvserver) | |
| | |
| | #18 (permalink) |
| Portal Member | I also thought that was kind of strange, I am going to do some searching to see if this is true... Well take a look at this page: http://dev.mysql.com/doc/refman/5.0/en/identifiers.html I thought it was 64 and I was right, so the "too long table names" error isn't correct I guess... Last edited by THDBASED; 2007-01-20 at 12:46. |
| | |
| | #19 (permalink) |
| Portal Member | I currently use TVEngine on MySQL 5.0.26 and it's works. you can download my sql script to create db from http://www.samposoft.it/database.zip 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. http://www.samposoft.it/Gentle129Dll.zip 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();
//}
The next step is to create a new SetupDatabaseForm for support MySQL or SQLServer. I think that is very simple... Last edited by samposoft; 2007-01-20 at 13:50. |
| | |
![]() |
| Bookmarks |
| Tags |
| mysql, option |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Codec isntall option in SVN | Glith | Improvement Suggestions | 2 | 2006-10-24 23:12 |
| REQ: Auto-View option for music (other) folders ala XBMC | HappyTalk | Improvement Suggestions | 1 | 2006-08-29 18:43 |
| MyPrograms view option (really small request) | Waltz | Improvement Suggestions | 0 | 2006-08-09 01:03 |
| Internal SVN update option? | nst6563 | Improvement Suggestions | 13 | 2006-05-29 10:38 |
| WDM Drivers Internal Sound Source Option! | dbx | Improvement Suggestions | 1 | 2005-07-06 19:37 |