spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home arrow Forums

SwissCenter Forums  


Upgrading MySQL - 2009/08/02 09:51 I have identified an issue when upgrading MySQL from previous versions.

When using the Simese installation package to update MySQL and PHP it will replace existing MySQL executables but not actually upgrade the database.

For most users this may not be a problem. When upgrading MySQL you should upgrade through each release of MySQL to avoid corrupting your existing database. ie. 4.0 -> 5.0 -> 5.1. You cannot upgrade a 4.0 database to 5.1, you must upgrade to 5.0 first.

Even though I had been previously using MySQL 5.0 for some time I expected upgrading to 5.1 to not be a problem. However, my database was originally created years ago using 4.0 and worked with MySQL 5.0 but was still a 4.0 database. MySQL 5.1 claimed this database had Incorrect key file for table '...'; try to repair it. Corrupt. and was unable to repair it. This was the case for most tables in the database, newer tables created with 5.0 were fine.

To solve this problem I had to reinstall MySQL 5.0 and use mysql_upgrade to make sure the database was upgraded before installing 5.1.

This may be complicated to understand for some users, so to avoid all this I would recommend that before upgrading Simese, PHP, MySQL you should export your SwissCenter settings to XML and also run a 'Export all extra information to XML' for video and tv to ensure you have a backup of all data.

After the upgrade if you have problems then re-create the database and import all your settings. The only data which will be missing will be the Theme settings unfortunately.

This issue is only applicable if your existing database was created using a pre MySQL 5.0 release.
Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: Upgrading MySQL - 2009/08/03 02:42 Since version 2.5.2 Simese should run the mysql_upgrade after an update.

But I think this doesn't work if the Simese.ini is located in the 'old' Program Files location. So if you have an old install, this doesn't work.

But if you cannot upgrade from a 4.0 directly to a 5.1 version, this is a problem.

Marco.
  | | The administrator has disabled public write access.
Re: Upgrading MySQL - 2009/08/03 05:14 Is there any way that the Simese install can detect the current version of MySQL installed? Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: Upgrading MySQL - 2009/08/06 01:09 To upgrade MySql from 5.1.36 my actual version (apache installation and test) to new version 5.1.37 .....i can upgrade installing new version over the old without rebuld the database or not ?

Thank
Player: ShowCenter 250HD & Popcorn A-200 (100208)
Server1: Windows Seven Ultimate
Webserver1: Simese v2.6.4 - Webserver2: Apache 2.2.15
PHP : v5.2.9-1 - MySQL : v5.1.45
Spec: Asus P5K3 Deluxe-Intel E8600-DDR3 4GB & 3TB 2big Lacie
  | | The administrator has disabled public write access.
Re: Upgrading MySQL - 2009/08/06 04:30 You should have no problems upgrading from 5.1.36 to 5.1.37 but why do this? As long as your MySQL version is 5.0 or later then you will have no problems with SwissCenter. Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: Upgrading MySQL - 2009/08/06 06:30 Pernod wrote:
You should have no problems upgrading from 5.1.36 to 5.1.37 but why do this? As long as your MySQL version is 5.0 or later then you will have no problems with SwissCenter....okay i follow your advise

Thank
Hispanico
Player: ShowCenter 250HD & Popcorn A-200 (100208)
Server1: Windows Seven Ultimate
Webserver1: Simese v2.6.4 - Webserver2: Apache 2.2.15
PHP : v5.2.9-1 - MySQL : v5.1.45
Spec: Asus P5K3 Deluxe-Intel E8600-DDR3 4GB & 3TB 2big Lacie
  | | The administrator has disabled public write access.
Re: Upgrading MySQL - 2009/12/03 04:38 Back in late October I took Pernod's advice and exported everything before trying to upgrade. As my previous post "Stopped Working" states, nothing works now and I am forced to consider a complete wipe and re-install. The original install was a mess of directory positioning anyway. The only thing that I don't know for sure is, what the file names will be for the SwissCenter initiated exports. I've had a coffee break or two since then ! I have a small collection of MySQL related xml files that coincide for date but little else identifies them. Can anyone enlighten me please ? Since I can't remember without a working installation, are there import options in SwissCenter which will look for the appropriately named files ?
Thanks
  | | The administrator has disabled public write access.
spacer
 

Screenshots

www.flickr.com
This is a Flickr badge showing public photos from swisscenter. Make your own badge here.


 

Mambo is Free Software released under the GNU/GPL License.
spacer