Skip to content

Commit 8558584

Browse files
author
Daan Hoogland
committed
mysql-quirk
Co-authored-by: Rohit Yadav <[email protected]>
1 parent dae988c commit 8558584

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

source/upgrading/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ release. Please read through all sections carefully before starting.
3131
.. note::
3232
For information on the API changes and issues fixed in this release, please see the Release Notes section of the documentation
3333

34-
3534
Contents:
3635

3736
.. toctree::
3837
:maxdepth: 1
3938

39+
upgrade/mysql
40+
upgrade/valid_source
4041
upgrade/upgrade-4.15
4142
upgrade/upgrade-4.14
4243
upgrade/upgrade-4.13
@@ -55,4 +56,3 @@ Contents:
5556
.. upgrade/upgrade-4.0
5657
.. upgrade/upgrade-3.0.x
5758
.. upgrade/upgrade-2.2.14
58-
upgrade/valid_source

source/upgrading/upgrade/mysql.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
.. Licensed to the Apache Software Foundation (ASF) under one
2+
or more contributor license agreements. See the NOTICE file
3+
distributed with this work for additional information#
4+
regarding copyright ownership. The ASF licenses this file
5+
to you under the Apache License, Version 2.0 (the
6+
"License"); you may not use this file except in compliance
7+
with the License. You may obtain a copy of the License at
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
Unless required by applicable law or agreed to in writing,
10+
software distributed under the License is distributed on an
11+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
12+
KIND, either express or implied. See the License for the
13+
specific language governing permissions and limitations
14+
under the License.
15+
16+
MySQL upgrade problems
17+
======================
18+
19+
Users who may upgrade their MySQL server after upgrading to Apache
20+
CloudStack 4.15 or later, may need to run the following SQL query to
21+
fix an issue with "cloud.nics" table's column type which may lead to
22+
exception seen in the management server logs. Users who have already
23+
upgraded their MySQL server prior to upgrading to Apache CloudStack
24+
4.15 may not need this as this query runs as part of the 4.14.x to
25+
4.15.0.0 database upgrade path.
26+
27+
.. note::
28+
The issue has not been seen in cases where the database was upgraded while on CloudStack version 4.14.
29+
30+
.. parsed-literal::
31+
ALTER TABLE nics MODIFY COLUMN update_time timestamp DEFAULT CURRENT_TIMESTAMP;
32+
33+
The issue is known to affect the following MySQL server versions:
34+
35+
- 5.7.34 or later
36+
- 8+

0 commit comments

Comments
 (0)