Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.1.0 RC 1
-
None
Description
Whenever the server changes, TVPlugin will use the correct server for remoting but the previous one for the DB connection (gentle.config is not updated as it should). You need to close MP after connecting to the new server, the restart it to work properly. This also happens if you change the DB engine (MSSQL <--> MySQL) on the same server.
This also happens on 1st installation with MySQL because the installed gentle.config defaults to MSSQL and the change never happens. In this situation it is worse since before establishing the remoting connection TVPlugin tries to test the ports but tests the wrong ones (MSSQL instead of MySQL) so it never tries to actually connect to the server.
h4. Additional Information
The reason is that TvHomeNavigator.SetupDatabaseConnection() does not update gentle config until the remoting connection to the server is established but it is called before.
The following thread is related:
http://forum.team-mediaportal.com/mediaportal-1-1-0-rc-1-496/trying-connect-wrong-database-78088/?highlight=sql
This also happens on 1st installation with MySQL because the installed gentle.config defaults to MSSQL and the change never happens. In this situation it is worse since before establishing the remoting connection TVPlugin tries to test the ports but tests the wrong ones (MSSQL instead of MySQL) so it never tries to actually connect to the server.
h4. Additional Information
The reason is that TvHomeNavigator.SetupDatabaseConnection() does not update gentle config until the remoting connection to the server is established but it is called before.
The following thread is related:
http://forum.team-mediaportal.com/mediaportal-1-1-0-rc-1-496/trying-connect-wrong-database-78088/?highlight=sql