Update MySQL version for Tekla PowerFab
Tekla PowerFab officially supports MySQL up to version 8.0.35. In order to upgrade the MySQL version from 5.0.90, you must be running Tekla PowerFab 2020 SP2 or later.
Supported MySQL versions
Tekla PowerFab/EPM version | MySQL 8.0.351 | MySQL 5.7.41 | MySQL 5.7.29 | MySQL 5.6.36 | MySQL 5.0.90 |
---|---|---|---|---|---|
2023i | ✓2 | ✓ | ✓ | ✓ | ✓ |
2023 | ✓2 | ✓ | ✓ | ✓ | ✓ |
2022i | ✓2 | ✓ | ✓ | ✓ | ✓ |
2022 | ✓2 | ✓ | ✓ | ✓ | ✓ |
2021i | - | ✓ | ✓ | ✓ | ✓ |
2021 | - | - | ✓ | ✓ | ✓ |
2020i | - | - | ✓ | ✓ | ✓ |
2020 | - | - | - | ✓ | ✓ |
1The use of MySQL 8 is restricted to 64-bit computers. 32-bit builds of MySQL 8 are not available.
2Tekla PowerFab 2023i SP3, Tekla PowerFab 2023 SP8, Tekla EPM 2022i SP9, Tekla EPM 2022 SP10 or greater is required for MySQL 8 support.
We recommend that you update to the latest Tekla PowerFab version available before upgrading the MySQL version. We also recommend to repair program errors and compress the Tekla PowerFab database before backing up the database. For instructions, see:
Option 1: Clean MySQL update
This update comprises uninstalling the old version and installing a new version of MySQL.
When updating the MySQL version, ensure that all users have logged out of Tekla PowerFab and MySQL before saving a backup copy of the Tekla PowerFab database until the Tekla PowerFab database has been restored on the new version.
See the following instructions:
After completing all these steps, users can log back into the Tekla PowerFab desktop application and Tekla PowerFab Go.
Option 2: Upgrade with MySQL_Upgrade utility
Users who do not wish to uninstall the existing MySQL version and install the new version, can use the MySQL_Upgrade.exe utility.
Ensure that all users have logged out of Tekla PowerFab and no users will login until the upgrade is complete.
See the following instructions:
The upgrade steps are completed without any further action required from the user.
The automatically completed steps are the following:
- Check the settings that were entered on the previous screen.
- Perform a database backup.
- Stop the MySQL service.
- Copy in the files for the new version of MySQL.
- Adjust MySQL configuration settings.
- Start the MySQL service.
- Restore the database.
- Complete the upgrade of the data files.
When the upgrade has completed, an Upgrade completed! message appears in the status dialog box. You can now safely close the upgrade program and open and log into Tekla PowerFab.
Failed upgrade
If the upgrade fails, a message dialog box appears with the text Update Failed.