Tools and other software [How To] [User Exp] Update MySQL (1 Viewer)

megahorst

Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Home Country
    Germany Germany
    i try it this evening, without uninstall 1.3Beta.
    • Update MySQL (with copy-paste data folder)
    • Update MP to 1.3 RC

    I'm quite sure that this will work as a quick solution.
    But is the database converted from MyISAM to InnoDB with this approach?
    InnoDB is the biggest advantage of MySQL 5.5, 5.6 against 5.1 from my point of view. No more crashed tables after a hard server restart.

    Perhaps a more experienced user can correct me ...
     

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Home Country
    Germany Germany
    Ok, if this works properly it is a lot easier as my approach.
    But how do you tell the tv-server where the new database is?
    Is it your plan to edit the gentle.config, or will you also use the install option with the existing database?
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,950
    5,620
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #24
    the bug with Deploytool, is (i remember) search if MySQL 5.1 is installed, if not, reinstalling it ! too bad !!!!

    i can try : 2 methods
    1st : Copy-paste
    • Stop Tvservice + Mysqlservice
    • install Mysql 5.6
    • copy-paste Data folder
    • execute mysql_upgrade
    • Unintall MySQL 5.1 ?
    • start Mysql (verify with workbench, right user)
    • Verify gentle.config (directory folder)
    • Start Tv serveur config, and try to connect to DB
    • If DB connect Succes, update to 1.3 RC
    If DeployTool need to install MySQL 5.1 in default mode. switch to custom with "choose database"

    2nd : Clean install (as you Megahorst)
    • Backup / or not with BackupSetting plugin
    • Stop Tvservice + Mysqlservice
    • Uninstall MP Tvserveur only (MP don't use Mysql, right ?)
    • Uninstall MySQL 5.1
    • Clean MySQL folder
    • install Mysql 5.6
    • Config Wizard MySQL for install service
    • WorkBench for verify User Right
    • Install MP with "choose Local DB"
    • Verify connection / gentle.config
    • Restore Backup With Backupsetting plugin
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,950
    5,620
    France - IDF
    Home Country
    France France
    • Thread starter
    • Moderator
    • #25
    Tested method :
    1st : Copy-paste
    • Stop Tvservice + Mysqlservice
    • Unintall MySQL 5.1
    • install Mysql 5.6
    set root + password,
    Set Mysql as Standard Services, if you have error on setup, verify in Services.msc MySQL services is Standard services not ""WINDOWS-NT authority ..."
    • copy-paste Data folder
    • start Mysql
    • Start TVserver, if connection failed go to Workbench
    • (verify with workbench, right user) as Wiki replace "1::" by "%"
    • Verify gentle.config (directory folder)
    • execute mysql_upgrade.exe
    • Start Tv serveur config, and try to connect to DB
    • If DB connect Succes, update to 1.3 RC
     
    Last edited:

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Open workbench\preferences ;)

    sshot-22.png
     

    powermarcel10

    Retired Team Member
  • Premium Supporter
  • November 30, 2010
    2,839
    898
    35
    Groningen
    Home Country
    Netherlands Netherlands
    So MP is still including an old version of MySQL in the installation? May I ask why?

    I've never looked into this as everything is working fine here, but I thought that we always included the newest version of MySQL in our installation..

    :)
     

    Users who are viewing this thread

    Top Bottom