| |||||||
| Development You want to code something for the TV-Server? Share it in here! |
![]() |
| | Thread Tools | Display Modes |
| | #21 (permalink) |
| Portal Member | Could you by any change maybe toss that changed installable version of the TVServer to your Server so I can try it out and maybe even help you out... If you are not able to do this then you don't have to go to any big trouble to do this then I will just wait until it is in SVN realease.... Thanks! THDBASED |
| | |
| | #22 (permalink) |
| Portal Member Join Date: Jan 2007 Age: 28
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | The biggest problem is actually: CREATE INDEX _dta_index_TuningDetail_7_709577566__K2_1_3_4_5_6_ 7_8_9_10_11_12_13_14_15_16_17_18_19_20_21_22_23_24 _25_26 ON TuningDetail ( idChannel ASC ) INCLUDE ( idTuning, name, provider, channelType, channelNumber, frequency, countryId, isRadio, isTv, networkId, transportId, serviceId, pmtPid, freeToAir, modulation, polarisation, symbolrate, diseqc, switchingFrequency, bandwidth, majorChannel, minorChannel, pcrPid, videoSource, tuningSource) And MySQL doesn't support INCLUDE among others. I've tried to make an universal setupdatabaseform which converts the database.sql into MySQL friendly SQL. But if people are satisfied with changing the database.sql themselves you can just make the changes samposoft proposes. |
| | |
| | #23 (permalink) |
| Portal Member Join Date: Jan 2007 Age: 28
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | One of the solutions I have done is this: sql = sql.Replace("---", "#"); //Added by Dunkstar, MySQL dont use --- as comments sql = sql.Replace("use master", " "); //Added by Dunkstar, there is no master database in MySQL sql = sql.Replace("IF EXISTS (SELECT name FROM sysdatabases WHERE name = N'TvLibrary')", " "); //Added by Dunkstar, dont work in MySQL sql = sql.Replace("IDENTITY(1,1) NOT NULL", "NOT NULL AUTO_INCREMENT"); //Added by Dunkstar, MySQL uses Auto_increment sql = sql.Replace("IDENTITY(1,1)NOT NULL", "NOT NULL AUTO_INCREMENT"); //Added by Dunkstar, MySQL uses Auto_increment sql = sql.Replace(" Version(", " Version ("); //Added by Dunkstar sql = sql.Replace(" version(", " version ("); //Added by Dunkstar sql = sql.Replace(" WITH CHECK ADD ", "ADD"); //Added by Dunkstar Dont know what your thoughts are on this. |
| | |
| | #27 (permalink) |
| Portal Member Join Date: Feb 2006 Location: Salt Lake City, UT Age: 26
Posts: 392
Thanks: 11
Thanked 1 Time in 1 Post
Country: | I'm too inexperienced at SQL server stuff, is there anybody who would be willing to put together a "how-to" for installing MySQL and getting it working with the tv server for us users? |
| | |
| | #29 (permalink) | |
| Portal Member Join Date: Jul 2005 Location: Copenhagen Age: 35
Posts: 99
Thanks: 5
Thanked 0 Times in 0 Posts
Country: | Quote:
So I might as well put together a HowTo while doing so.. Cheers, Steff
__________________ Well, a bloke needs a hobby, I always say. And hey, in this big old world there's always plenty of dung out there to be collected: after all, I hear the Ducati factory is working longer shifts now. | |
| | |
| | #30 (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:
| |
| | |
![]() |
| 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 |