Skip to content

Commit 6b1d4e3

Browse files
Update source/upgrading/upgrade/MySQL.rst
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 472aa7b commit 6b1d4e3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

source/upgrading/upgrade/MySQL.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,12 @@
1414
under the License.
1515
1616
|MySQL upgrade problems|
17-
When upgrading newer CloudStack versions on older MySQL versions, some of the upgrade scripts may not apply fully on the database and some changes may be missing in the resulting installation.
17+
Users who may upgrade their MySQL server after upgrading to Apache CloudStack 4.15 or later, may need to run the following SQL query to fix an issue with "cloud.nics" table's column type which may lead to exception seen in the management server logs. Users who have already upgraded their MySQL server prior to upgrading to Apache CloudStack 4.15 may not need this as this query runs as part of the 4.14.x to 4.15.0.0 database upgrade path.
1818

19-
Some versions of MySQL may not apply a SQL statement such as below which can be executed manually by the admin post-upgrade:
2019
.. parsed-literal::
2120
ALTER TABLE nics MODIFY COLUMN update_time timestamp DEFAULT CURRENT_TIMESTAMP;
2221

23-
After the upgrade of CloudStack, when some versions of MySQL are upgraded they may require additional corrective SQL queries to applied manually to fix the schema such as those around altering column types as illustrated above.
22+
The issue is known to affect the following MySQL server versions:
2423

25-
Known affected versions:
26-
27-
- 5.7.34
24+
- 5.7.34 or later
2825
- 8+

0 commit comments

Comments
 (0)