@@ -4,7 +4,7 @@ If you want to downgrade from Percona Server for MySQL Pro to the same version o
4
4
5
5
!!! note
6
6
7
- For Ubuntu 22.04 the downgrade from percona-mysql-router-pro to percona-mysql-router will be implemented in future releases .
7
+ In Percona Server for MySQL Pro 8.0.35-27, the downgrade from percona-mysql-router-pro to percona-mysql-router is not supported for Ubuntu 22.04 .
8
8
9
9
=== "On Debian and Ubuntu"
10
10
@@ -14,7 +14,7 @@ If you want to downgrade from Percona Server for MySQL Pro to the same version o
14
14
$ sudo percona-release setup ps80
15
15
```
16
16
17
- 2. Stop the `mysql` server
17
+ 2. Stop the `mysql` server.
18
18
19
19
```{.bash data-prompt="$"}
20
20
$ sudo systemctl stop mysql
@@ -26,24 +26,21 @@ If you want to downgrade from Percona Server for MySQL Pro to the same version o
26
26
$ sudo apt install percona-server-server
27
27
```
28
28
29
- Install other required packages. [Check files in the DEB package built for Percona Server for MySQL 8.0](apt-files.md).
29
+ Install other required packages. [Check files in the DEB package built for Percona Server for MySQL 8.0](apt-files.md).
30
30
31
- 4. Stop the `mysql` server again.
32
-
33
- ```{.bash data-prompt="$"}
34
- $ sudo systemctl stop mysql
35
- ```
36
-
37
- 5. Create an alternative symbolic link for the MySQL configuration file, `my.cnf`, that points to `/etc/mysql/mysql.cnf`
31
+ 4. Start the `mysql` server
38
32
39
33
```{.bash data-prompt="$"}
40
- $ sudo update-alternatives --force --install /etc/ mysql/my.cnf my.cnf "/etc/mysql/mysql.cnf" 300
34
+ $ sudo systemctl start mysql
41
35
```
42
36
43
- 6. Start the `mysql` server
37
+ !!! note
44
38
39
+ On Debian 12, if you want to remove the Percona Server for MySQL after the downgrade, you must stop the
40
+ server manually. This behavior will be fixed in future releases.
41
+
45
42
```{.bash data-prompt="$"}
46
- $ sudo systemctl start mysql
43
+ $ sudo systemctl stop mysql
47
44
```
48
45
49
46
=== "On RHEL and derivatives"
@@ -53,36 +50,23 @@ If you want to downgrade from Percona Server for MySQL Pro to the same version o
53
50
```{.bash data-prompt="$"}
54
51
$ sudo percona-release setup ps80
55
52
```
56
-
57
- 2. Back up the `my.cnf` configuration file
58
-
59
- ```{.bash data-prompt="$"}
60
- $ sudo cp /etc/my.cnf /etc/my.cnf_back
61
- ```
62
-
63
- 3. Remove the server Pro package
64
-
53
+
54
+ 2. Stop the `mysql` server.
55
+
65
56
```{.bash data-prompt="$"}
66
- $ sudo yum remove percona-server-server-pro
57
+ $ sudo systemctl stop mysql
67
58
```
68
59
69
- 4 . Install the server package
60
+ 3 . Install the server package
70
61
71
62
```{.bash data-prompt="$"}
72
- $ sudo yum install percona-server-server
63
+ $ sudo yum --allowerasing install percona-server-server
73
64
```
74
65
75
66
Install other required packages. [Check files in the RPM package built for Percona Server for MySQL 8.0](yum-files.md).
76
67
77
- 5. Overwrite the contents of `/etc/my.cnf` configuration file with the contents from `my.cnf_back` configuration file.
78
-
79
- ```{.bash data-prompt="$"}
80
- $ sudo cp /etc/my.cnf_back /etc/my.cnf
81
- ```
82
-
83
- 6. Start the `mysql` server
68
+ 4. Start the `mysql` server
84
69
85
70
```{.bash data-prompt="$"}
86
71
$ sudo systemctl start mysql
87
72
```
88
-
0 commit comments