MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server 1 » Help on Development » Bugreports: TV Server / Client » 1.0 RC1 and SVN Builds


1.0 RC1 and SVN Builds Post bugs you have found in 1.0 RC1 or any later SVN-Snapshot here.

Reply
 
Thread Tools Display Modes
Old 2008-04-19, 03:03   #1 (permalink)
Portal Member
 
Join Date: Feb 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts


not a bug TvServer won't create database (MySQL)

Using 1.0 RC1 Refresh the setupTv.exe deletes the old TvLibrary correctly (which means it connects fine) but doesn't create the database properly.

I'm using a remote server for my database (linux MySQL server) with and without case sensitivity. Not been case sensitive worked with the older svn builds.

the only logs generated are by tv.log.

2008-04-19 11:50:23.484375 [1]: ---- start setuptv V0.9.1.18808----
2008-04-19 11:50:23.500000 [1]: ---- check connection with database ----
2008-04-19 11:50:23.828125 [1]: ---- check if database needs to be updated/created ----
2008-04-19 11:50:23.875000 [1]: ---- create database ----
2008-04-19 11:50:23.921875 [1]: Exec SQL: DROP DATABASE IF EXISTS TvLibrary;CREATE DATABASE IF NOT EXISTS TvLibrary;USE TvLibrary;

If you let SetupTv.exe run it eventually times out and closes.

I decided to try anyway and manually ran the last query in the log and found it ran without warning or error.

Anyone got any ideas?
Valk is offline   Reply With Quote
Old 2008-04-19, 09:17   #2 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,552
Thanks: 90
Thanked 100 Times in 73 Posts

Country:

My System

Default

Maybe your installation has been INNODB (no drop because of Key constraints) or the database was still in use?
__________________
rtv is offline   Reply With Quote
Old 2008-04-19, 11:38   #3 (permalink)
Portal Member
 
Join Date: Feb 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts


Default

In the end I just looked at the source and manually ran the SQL script, worked in the end so i'll just leave it at that since no one else seems to have issues.
Valk is offline   Reply With Quote
Old 2008-04-19, 19:03   #4 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 42
Posts: 57
Thanks: 2
Thanked 0 Times in 0 Posts

Country:


Default

Hi.
Been sitting here all day and tried to get RC1 to work but no luck.
When i open up tvserver conf. i just get the error say "Failed to create the database"
Tried to install 18566 again but get the same fail there. Also tried to reinstall SQL sever again.
Any goor ideas??????

Thanks
Lars
rebreather is offline   Reply With Quote
Old 2008-04-19, 19:12   #5 (permalink)
Portal Member
 
Join Date: Dec 2007
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

Hi,

I had also this problem (but it was not on linux)

jonaskp posted me a solution that worked !

Did you have SQL server installed before? Because there used to be a bug where it couldnt create the database, because it was already there, even if you uninstalled SQL server. If youre using MSSQL, try going to:
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data and delete TVlibrary and tvlibrary_log.

Then Try again.

Last edited by Gent32m; 2008-04-19 at 19:15.
Gent32m is offline   Reply With Quote
Old 2008-04-19, 19:13   #6 (permalink)
Super Moderator
 
Paranoid Delusion's Avatar
 
Join Date: Jun 2005
Location: Cheshire UK
Posts: 5,882
Thanks: 103
Thanked 178 Times in 160 Posts

Country:

My System

Default

Database may be stuffed itself, can you drop\delete it using sql management express
Paranoid Delusion is offline   Reply With Quote
Old 2008-04-19, 20:10   #7 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 42
Posts: 57
Thanks: 2
Thanked 0 Times in 0 Posts

Country:


Default

Thanks a lot.
Deleted the files and are up running again.

Thanks

Lars
rebreather is offline   Reply With Quote
Old 2008-04-20, 13:03   #8 (permalink)
Portal Member
 
Join Date: Jul 2007
Posts: 18
Thanks: 5
Thanked 0 Times in 0 Posts

Country:


Default

Thx, worked for me also!!
BuUrMaN is offline   Reply With Quote
Old 2008-04-27, 08:20   #9 (permalink)
Portal Member
 
Hojou's Avatar
 
Join Date: Jan 2007
Age: 35
Posts: 61
Thanks: 6
Thanked 0 Times in 0 Posts

Country:


Default

I get the same error when trying to install.

No databases - except the system databases when i go look with the enterprise manager.

I get the same error, no matter which of the three database options i pick (mssql, mysql, and existing mssql). With the existing mssql i even Test the connection which runs green and i still get that error.
Hojou is offline   Reply With Quote
Old 2008-04-27, 13:05   #10 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,552
Thanks: 90
Thanked 100 Times in 73 Posts

Country:

My System

Default

Quote:
Originally Posted by Hojou View Post
I get the same error when trying to install.

No databases - except the system databases when i go look with the enterprise manager.

I get the same error, no matter which of the three database options i pick (mssql, mysql, and existing mssql). With the existing mssql i even Test the connection which runs green and i still get that error.
Well since we know it is fixed in SVN it would be nice if you either:
- test the lastest snapshot or
- provide us with logs so we can see you're suffering from the same issue..
__________________
rtv is offline   Reply With Quote
Reply

Bookmarks

Tags
create, database, mysql, tvserver

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT +1. The time now is 07:03.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress