|
| 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