MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » Community Plugins


Community Plugins TV-Server Plugins created from users for users, can be found here.

Reply
 
Thread Tools Display Modes
Old 2007-11-12, 09:41   #291 (permalink)
MP Donator
 
Join Date: Dec 2004
Location: Zagreb
Age: 33
Posts: 42
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

Quote:
Originally Posted by Big_Kev View Post
Let me know if you can still log on with the SQL Server Management Studio.

Kev
I tried to log on as "sa" user and that is working OK.
I'll try to log on as "Web" user as soon as I come from work today and post results here.

mmesh is offline   Reply With Quote
Old 2007-11-13, 15:20   #292 (permalink)
Portal Member
 
Join Date: May 2007
Age: 23
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts

My System

Default

With the latest release, with the extended 500 error, I get the following message:
[AnyDAC][Phys][MySQL][LIBMYSQL] MySQL server has gone away

FYI I use a different server for the MySQL database and it's not gone for sure so it seems like it looses the connection with it.
DarkFire is offline   Reply With Quote
Old 2007-11-13, 21:23   #293 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 319
Thanks: 108
Thanked 140 Times in 63 Posts

Country:


Default

Quote:
Originally Posted by DarkFire View Post
With the latest release, with the extended 500 error, I get the following message:
[AnyDAC][Phys][MySQL][LIBMYSQL] MySQL server has gone away

FYI I use a different server for the MySQL database and it's not gone for sure so it seems like it looses the connection with it.
I am only guessing here, but it could be a DLL problem.

Could you check that the version of libmysql.dll that is in the application directory is the same as the one in the MySQL install directory.

If not, then replace it with the MySQL one.


Regards
Kev.
Big_Kev is offline   Reply With Quote
Old 2007-11-14, 01:09   #294 (permalink)
Portal Member
 
Join Date: May 2007
Age: 23
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts

My System

Default

Quote:
Originally Posted by Big_Kev View Post
I am only guessing here, but it could be a DLL problem.

Could you check that the version of libmysql.dll that is in the application directory is the same as the one in the MySQL install directory.

If not, then replace it with the MySQL one.


Regards
Kev.
The libmysql.dll in my MySQL directory did have a different size. Probably a different version so I replaced the one in the MP Web interface directory and restarted the interface. Lets see what it does after a few hours...

Edit: I tried it again and the same error appears. Seems it doesn't fix my problem.

Last edited by DarkFire; 2007-11-14 at 15:33.
DarkFire is offline   Reply With Quote
Old 2007-11-14, 22:11   #295 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 319
Thanks: 108
Thanked 140 Times in 63 Posts

Country:


Default

Quote:
Originally Posted by DarkFire View Post
Quote:
Originally Posted by Big_Kev View Post
I am only guessing here, but it could be a DLL problem.

Could you check that the version of libmysql.dll that is in the application directory is the same as the one in the MySQL install directory.

If not, then replace it with the MySQL one.


Regards
Kev.
The libmysql.dll in my MySQL directory did have a different size. Probably a different version so I replaced the one in the MP Web interface directory and restarted the interface. Lets see what it does after a few hours...

Edit: I tried it again and the same error appears. Seems it doesn't fix my problem.
The interface currently holds the same connection open all the time, and just checks for connectivity at the beginning of each request. This seems OK for MSSQL, as that is what I am using without getting these issues.

I will implement a "timeout" on the connection - say 10 minutes of inactivity - and force a re-connect at the next request. It would appear that the MySQL server is "dropping" the open connection without disconnecting the socket (perhaps).
This may be a work-around for the problem.

I will post it as soon as I can, but I am a little busy for the next week...

Regards
Kev
Big_Kev is offline   Reply With Quote
Old 2007-11-14, 23:43   #296 (permalink)
Portal Member
 
Join Date: Aug 2006
Location: Stockholm
Age: 37
Posts: 266
Thanks: 11
Thanked 7 Times in 7 Posts

Country:

My System

Default

Thank BIG_KEV for a great app!

I noticed that you need to have SQL Native client installed in order to connect to a remote server with SQL 2005...
Perhaps you could update your excellent setup document with that?
Most of the people are running this on the same server as TV server - but not me.. So it took me a while to figure out..


Last edited by pnyberg; 2007-11-14 at 23:48.
pnyberg is offline   Reply With Quote
This User Say Thank You:
Old 2007-11-14, 23:45   #297 (permalink)
Portal Member
 
Join Date: May 2007
Age: 23
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts

My System

Default

Quote:
Originally Posted by Big_Kev View Post
Quote:
Originally Posted by DarkFire View Post
Quote:
Originally Posted by Big_Kev View Post
I am only guessing here, but it could be a DLL problem.

Could you check that the version of libmysql.dll that is in the application directory is the same as the one in the MySQL install directory.

If not, then replace it with the MySQL one.


Regards
Kev.
The libmysql.dll in my MySQL directory did have a different size. Probably a different version so I replaced the one in the MP Web interface directory and restarted the interface. Lets see what it does after a few hours...

Edit: I tried it again and the same error appears. Seems it doesn't fix my problem.
The interface currently holds the same connection open all the time, and just checks for connectivity at the beginning of each request. This seems OK for MSSQL, as that is what I am using without getting these issues.

I will implement a "timeout" on the connection - say 10 minutes of inactivity - and force a re-connect at the next request. It would appear that the MySQL server is "dropping" the open connection without disconnecting the socket (perhaps).
This may be a work-around for the problem.

I will post it as soon as I can, but I am a little busy for the next week...

Regards
Kev
Ok, I'll look forward to the next version.
Take it easy, I'm not in a hurry it's just a luxury problem
DarkFire is offline   Reply With Quote
Old 2007-11-15, 06:56   #298 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 319
Thanks: 108
Thanked 140 Times in 63 Posts

Country:


Default New Version 0.2.0.06

Hi All,

There is something new in this version.

It now supports refreshing EPG data from xml downloads. There are some new pages in the setup instructions that describe how to set it up.

Basically, you set up your URLs, reset the mapping grid, and map your MediaPortal channel/s to the xml channels.

I have added a timeout function for the database connection. It will now disconnect after 10 minutes of inactivity. Then re-connect for the next request.

Hopefully this will get around the MySQL problems described previously, with the interface giving errors after being active for long periods.

Kev
Big_Kev is offline   Reply With Quote
This User Say Thank You:
Old 2007-11-17, 12:28   #299 (permalink)
Portal Member
 
risu's Avatar
 
Join Date: Sep 2006
Posts: 261
Thanks: 19
Thanked 19 Times in 17 Posts

Country:

My System

Default

I think version 0.1.2.9 is last one which is worked somehow well on my system. After that I can't connect to web int after about 24 hours of installation. When I open manager on 2.0.0.06 I get Socket Error #10061 Connection refused so it could be a firewall issue also, but previous versions (pre 2.0.0.00) worked..

EDIT

If I manually kill the process MPWebInt.exe and start it again, it works! It just doesn't seem to work automatically on computer restart.

Last edited by risu; 2007-11-17 at 12:30.
risu is offline   Reply With Quote
Old 2007-11-17, 12:31   #300 (permalink)
Portal Member
 
Join Date: May 2007
Age: 23
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts

My System

Default

The new version fixed my MySQL problem.
DarkFire is offline   Reply With Quote
Reply

Bookmarks

Tags
contained, interface, server, web

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
TVE3 Web User Interface goatse Development 29 2008-05-12 18:14
Web Interface tucholka MediaPortal 1 Talk 1 2007-04-16 15:44
Updated interface for MP Web Controller quiller Skins 0 2007-01-21 08:14
Web Interface like xbmc? brandenpro Plugins 1 2005-09-05 09:19
Web Interface...... spo General Development (no feature request here!) 24 2004-11-07 12:33


All times are GMT +1. The time now is 11:06.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden