Upgrade of 1.5 with 1.6 does not upgrade MySQL 5.1 to 5.6 (1 Viewer)

Iwen

Portal Pro
August 14, 2007
464
32
Home Country
Germany Germany
I'm curious. Are your database tables now in InnoDB format? I would bet they are still all MyISAM.
Following the steps at http://wiki.team-mediaportal.com/1_..._Tool)/Update_to_MySQL_5.6#Useful_information, I do have InnoDB.
Default will be set as InnoDB for MySQL 5.6. AFAIK the same was true for MySQL 5.1. However, that doesn't mean that the tables themselves will be in InnoDB format. Before MP 1.6, we explicitly set the table format to MyISAM.

That is exactly what I was thinking.

You installed MySQL 5.6 but configured the database connection with MP1.5. So, in this case MP creates 'mptvdb' with MyISAM format.
After that you updated MP to 1.6. The installer found an existing database and left it unchanged. That means, that your tables remain in the same format as before.
To overcome this situation you have to delete the 'mptvdb' database (use the Workbench) and configure the TV-Server database connection again. In your tutorial these are the steps 6-9. After that MP1.6 will create a new database with the new InnoDB format.

To check the format you can use this sql command (also in the Workbench, when you have connected to your database):
Code:
SELECT `TABLE_NAME`, `ENGINE` FROM `information_schema`.`TABLES` WHERE `TABLE_SCHEMA` = 'mptvdb';
 

mrspock

Portal Pro
September 14, 2008
124
32
Madrid
Home Country
Spain Spain
Thanks a lot to both, @mm1352000 and @Iwen, for your great help. :D

I checked the format, with the sql command, and you both were right (I was not aware when the db is created and that it was in the old format). I did as Iwen told, and now is InnoDB format. (y)

I will edit my original post to modify step 1 and to remove the idea of installing MP 1.6 after that. This will help other users, as well.

I suggest you read the MySQL documentation if you want to customise.
The screenshots shows that there should be information about the choice on the right hand side.
That documentation does not provide further information to me, as the main things are explained in the screenshots. Reading that screenshots is why I decided my installation options, as I was not able to find recommendations for MP.
It is completely personal choice. There is no "best for MP"; it is "best for you".
The "best for me" is what is "best for MP" and the performance of my HTPC (99% dedicated to MP). I do not have an especial interest of customising it as far as MP works ok, but just wanted to use the same options used in the MP 1.6 installer when doing a fresh install (I trust on the dev team knowledge).
 
Last edited:

Sigpi007

Portal Pro
November 14, 2012
104
38
Chicago, IL
Home Country
United States of America United States of America
Hope this could be useful to somebody. (y)

Thanks Mrspock for the detailed walk through. It was very helpful this evening. Much appreciated.

One thing I noticed... Specific to functionality related to Cablecards... Is the the "CAM enabled" flags and "simultaneous streams" values were not backed up in the TV server settings export. As it's newer functionality, I can understand why this would be the case. Anyone using Cablecards following this upgrade process will need to re-enable those settings or they'll get an "all cards busy" error message when they test channels after upgrading.
 

Users who are viewing this thread

Similar threads

I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem - unable to connect to any of the specified MySQL hosts. And Hostname is still in red. I don't understand - this is a dedicated TV computer. Unless an update did this I don't know why there's a problem in the...
I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem -...
I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
Replies
2
Views
441
I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP and set logs and rebooted and ran TVServer. Didn't do anything in regard to S Loopback adapter. I've been using NextPvr since the problem became insurmountable. Only reason it's not a good long term...
I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP...
I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
Replies
24
Views
2K
To be fair the normal uninstall is usually more than sufficient. I regularly uninstall and reinstall MP 1 as part of the testing process and only very rarely have I needed to use the manual procedure posted by @CyberSimian to overcome the error you ran into. I also believe there is a procedure to repair the MySQL install in the event...
To be fair the normal uninstall is usually more than sufficient. I regularly uninstall and reinstall MP 1 as part of the testing...
I am trying to install Mediaportal with TV Server. I tried many versions, including current x64 and new prerelease x86, and...
Replies
3
Views
523
Thankyou.I did a re-install of the Mediaportal Client.Seems to be OK now.
Thankyou.I did a re-install of the Mediaportal Client.Seems to be OK now.
After upgrade to version 1.31 nor Mediaportal or MediaPortal Configuration will start. I windows event logg I get the following...
Replies
4
Views
885
I had the same issue and found the executable under C:\ProgramData\Team MediaPortal\MediaPortal\skin\Titan\BasicHome.Editor\TitanEditor.exe Only the shortcut was missing.
I had the same issue and found the executable under C:\ProgramData\Team...
Hi all, Not a rant, more a sharing of experience (maybe hoping to get some clarification on which wrong turn I took) It has been...
Replies
9
Views
2K
Top Bottom