You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/index.md
+23-1
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,30 @@ Percona Server for MySQL is a freely available, fully compatible, enhanced, and
9
9
10
10
Percona Server for MySQL is trusted by thousands of enterprises to provide better performance and concurrency for their most demanding workloads.
11
11
12
+
## {{post}}
13
+
14
+
Leverage [{{post}}](https://www.percona.com/navigating-mysql-5-7-end-of-life) to ensure continued security and performance for your MySQL applications. While this service provides critical bug fixes and security patches, consider migrating to the next major version to unlock a wider range of benefits:
15
+
16
+
* Enhanced performance and scalability: Gain access to performance improvements and better handle growing data volumes.
17
+
18
+
* Improved security features: Benefit from the latest security advancements to safeguard your data more effectively.
19
+
20
+
* Access to the latest features and functionality: Utilize the newest features and functionalities to improve your database management experience.
21
+
22
+
### Releases
23
+
24
+
*[Percona Server for MySQL 5.7.44-49](release-notes/5.7.44-49.md)
*[Download {{post}} releases from binary tarballs](./installation/binary-tarball.md)
31
+
32
+
12
33
## For Monitoring and Management
13
34
14
35
Percona Monitoring and Management (PMM )monitors and provides actionable performance data for MySQL variants, including Percona Server for MySQL, Percona XtraDB Cluster, Oracle MySQL Community Edition, Oracle MySQL Enterprise Edition, and MariaDB. PMM captures metrics and data for the InnoDB, XtraDB, and MyRocks storage engines, and has specialized dashboards for specific engine details.
15
36
16
-
[Install PMM and connect your server instances to it.](https://docs.percona.com/percona-monitoring-and-management/get-started/index.html)
37
+
[Install PMM and connect your server instances to it.](https://docs.percona.com/percona-monitoring-and-management/get-started/index.html)
# Installing _Percona Server for MySQL_ 5.7 from a Binary Tarball
1
+
# Installing Percona Server for MySQL 5.7 from a Binary Tarball
2
2
3
3
!!! note
4
4
5
-
The following instructions install Percona Server for MySQL 5.7.
5
+
The following instructions install Percona Server for MySQL 5.7.
6
6
The instructions to install [Percona Server for MySQL 8.0 are available at this location](https://docs.percona.com/percona-server/latest/installation.html#installing-percona-server-from-a-binary-tarball).
7
7
8
-
In _Percona Server for MySQL_ 5.7.31-34 and later, the multiple binary
8
+
## Download a {{post}} binary tarball
9
+
10
+
You can download the binary tarball for Percona Server for MySQL release in the {{post}} program using your `CLIENTID` and `TOKEN`.
| Full | Percona-Server-<release>/private/[CLIENTID]-[TOKEN]/Percona-Server-5.7/Percona-Server-<release>/binary/tarball/Percona-Server-<release>-Linux.x86_64.glibc2.17.tar.gz | Contains binaries, libraries, test files, and debug symbols |
15
+
| Minimal | Percona-Server-<release>/private/[CLIENTID]-[TOKEN]/Percona-Server-5.7/Percona-Server-<release>-Linux.x86_64.glibc2.12-minimal.tar.gz | Contains binaries, and libraries but does not include test files, or debug symbols. |
16
+
17
+
Fetch and extract the correct binary tarball using your `CLIENTID` and `TOKEN`. For example, for Oracle Linux 9, use the following command:
| Full | Percona-Server-<versionnumber>-Linux.x86_64.glibc2.12.tar.gz | Contains binaries, libraries, test files, and debug symbols |
14
-
| Minimal | Percona-Server-<versionnumber>-Linux.x86_64.glibc2.12-minimal.tar.gz | Contains binaries, and libraries but does not include test files, or debug symbols. |
30
+
| Full | Percona-Server-<version number>-Linux.x86_64.glibc2.12.tar.gz | Contains binaries, libraries, test files, and debug symbols |
31
+
| Minimal | Percona-Server-<version number>-Linux.x86_64.glibc2.12-minimal.tar.gz | Contains binaries, and libraries but does not include test files, or debug symbols. |
15
32
16
-
Select the _Percona Server for MySQL_ 5.7 version number and type of tarball for your installation. Both binary tarballs support all distributions.
33
+
Select the Percona Server for MySQL 5.7 version number and type of tarball for
34
+
your installation. Both binary tarballs support all distributions.
17
35
18
-
In _Percona Server for MySQL_ before 5.7.31-34, multiple tarballs are provided based on the _OpenSSL_ library available in the distribution:
36
+
In Percona Server for MySQL before 5.7.31-34, multiple tarballs are provided
37
+
based on the OpenSSL library available in the distribution:
38
+
39
+
* ssl100 - for Debian prior to 9 and Ubuntu prior to 14.04 versions (`libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0`);
19
40
20
-
* ssl100 - for _Debian_ prior to 9 and _Ubuntu_ prior to 14.04 versions (`libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0`);
21
-
22
41
* ssl101 - for _CentOS_ 6 and _CentOS_ 7 (`libssl.so.10 => /usr/lib64/libssl.so.10`);
23
-
42
+
24
43
* ssl102 - for _Debian_ 9 and _Ubuntu_ versions starting from 14.04 (`libssl.so.1.1 => /usr/lib/libssl.so.1.1`);
25
-
26
-
* ssl1:111 - for _CentOS_ 8 and _RedHat_ 8 (`libssl.so.1.1 => /usr/lib64/libssl.so.1.1.1b`);
27
44
28
-
You can download the binary tarballs from the [`Linux - Generic`
29
-
section](https://www.percona.com/downloads/Percona-Server-5.7/LATEST/binary/tarball/) on the download page.
45
+
* ssl1:111 - for _CentOS_ 8 and _RedHat_ 8 (`libssl.so.1.1 => /usr/lib64/libssl.so.1.1.1b`);
30
46
31
-
Fetch the correct binary tarball. The example fetches Percona Server
47
+
You can download the binary tarballs from the [`Linux - Generic`
48
+
section](https://www.percona.com/downloads) on the download page. See [download instructions](download-instructions.md)
49
+
50
+
Fetch the correct binary tarball. The example fetches Percona Server
Copy file name to clipboardexpand all lines: docs/installation/docker.md
+80-30
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,64 @@
1
-
# Running Percona Server for MySQL 5.7 in a Docker Container
1
+
# Run Percona Server for MySQL 5.7 in a Docker Container
2
2
3
3
!!! note
4
4
5
5
The following instructions run Percona Server for MySQL 5.7 in a Docker container.
6
6
The instructions on how to run [Percona Server for MySQL 8.0 in a Docker container are available at this location](https://docs.percona.com/percona-server/latest/installation/docker.html).
7
7
8
+
## {{post}} Docker containers
9
+
10
+
To use {{post}} in a Docker container, you must request access to the {{post}} repository from Percona Support. This request provides you with the client ID and the access token. The Docker image is stored in a binary tarball.
running the latest version in the Percona Server 5.7 series,
32
86
with the root password set to `root`:
33
87
34
-
```
35
-
[root@docker-host] $ docker run -d \
88
+
```{.bash data-prompt="$"}
89
+
$ docker run -d \
36
90
--name ps \
37
91
-e MYSQL_ROOT_PASSWORD=root \
38
92
percona/percona-server:5.7
@@ -52,13 +106,13 @@ with the root password set to `root`:
52
106
53
107
To access the shell in the container:
54
108
55
-
```shell
109
+
```{.bash data-prompt="$"}
56
110
[root@docker-host] $ docker exec -it ps /bin/bash
57
111
```
58
112
59
113
From the shell, you can view the error log:
60
114
61
-
```text
115
+
```{.text .no-copy}
62
116
[mysql@ps] $ more /var/log/mysql/error.log
63
117
2017-08-29T04:20:22.190474Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
64
118
2017-08-29T04:20:22.190520Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set.
@@ -68,13 +122,13 @@ From the shell, you can view the error log:
68
122
You can also run the MySQL command-line client
69
123
to access the database directly:
70
124
71
-
```shell
125
+
```{.bash data-prompt="$"}
72
126
[mysql@ps] $ mysql -uroot -proot
73
127
```
74
128
75
129
The output may be similar to the following:
76
130
77
-
```text
131
+
```{.text .no-copy}
78
132
mysql: [Warning] Using a password on the command line interface can be insecure.
79
133
Welcome to the MySQL monitor. Commands end with ; or \g.
80
134
Your MySQL connection id is 4
@@ -100,25 +154,24 @@ To link a container running your application
100
154
with the Percona Server container,
101
155
run it with the following command:
102
156
103
-
```shell
157
+
```{.bash data-prompt="$"}
104
158
[root@docker-host] $ docker run -d \
105
159
--name app \
106
160
--link ps \
107
161
app/image:latest
108
162
```
109
163
110
-
This application container will be able to access the Percona Server container
164
+
This application container can access the Percona Server container
111
165
via port 3306.
112
166
113
167
## Environment Variables
114
168
115
169
When running a Docker container with Percona Server,
116
-
you can adjust the configuration of the instance
117
-
by passing one or more environment variables with the `docker run` command.
170
+
you can adjust the instance's configuration by passing one or more environment variables with the `docker run` command.
118
171
119
172
!!! note
120
173
121
-
These variables will not have any effect if you start the container with a data directory that already contains a database: any pre-existing database will always remain untouched on container startup.
174
+
If you start the container with a data directory containing a database, these variables are not effective. Any pre-existing database will always remain untouched on container startup.
122
175
123
176
The variables are optional, except that you must specify at least one of the following:
124
177
@@ -142,24 +195,22 @@ that run in Docker containers:
142
195
143
196
* Let Docker manage the storage of your data
144
197
by writing the database files to disk on the host system
145
-
using its own internal volume management.
198
+
using its internal volume management.
146
199
147
200
* Create a data directory on the host system
148
-
(outside the container on highperformance storage)
201
+
(outside the container on high-performance storage)
149
202
and mount it to a directory visible from inside the container.
150
-
This places the database files in a known location on the host system,
151
-
and makes it easy for tools and applications on the host system
203
+
This directory places the database files in a known location on the host system and makes it easy for tools and applications on the host system
152
204
to access the files.
153
-
The user should make sure that the directory exists,
154
-
and that permissions and other security mechanisms on the host system
205
+
The user should ensure that the directory exists and that permissions and other security mechanisms on the host system
155
206
are set up correctly.
156
207
157
208
For example, if you create a data directory on a suitable volume
158
209
on your host system named `/local/datadir`,
159
210
you run the container with the following command:
160
211
161
-
```shell
162
-
[root@docker-host] $ docker run -d \
212
+
```{.bash data-prompt="$"}
213
+
$ docker run -d \
163
214
--name ps \
164
215
-e MYSQL_ROOT_PASSWORD=root \
165
216
-v /local/datadir:/var/lib/mysql \
@@ -177,10 +228,10 @@ which is the default data directory used by Percona Server.
177
228
178
229
!!! note
179
230
180
-
If you have SELinux enabled, assign the relevant policy type to the new data directory, so that the container will be allowed to access it:
231
+
If you have SELinux enabled, assign the relevant policy type to the new data directory so that the container will be allowed to access it:
1. Open [Percona Product Downloads](https://www.percona.com/downloads)
8
+
2. Locate the Percona Server for MySQL section.
9
+
3. In `Select Product`, select the Percona Server version.
10
+
4. In `Select Product Version`, select the version, for example, PERCONA-SERVER-{{release}}
11
+
5. In `Select Software`, select the operating system, for example, RED HAT ENTERPRISE LINUX / CENTOS/ ORACLE LINUX 9
12
+
13
+
The easiest method is to download all packages.
14
+
15
+
## Download to a local computer
16
+
17
+
In`Package Download Options`, select a specific package or select the `DOWNLOAD ALL PACKAGES` button
18
+
19
+
The selected packages are downloaded to the local computer.
20
+
21
+
## Download to another computer
22
+
23
+
In `Package Download Options`, select a specific package or select the `DOWNLOAD ALL PACKAGES` button, and hover your cursor over the `DOWNLOAD` arrow. Right-click, and in the drop-down menu, select `Copy Link`.
24
+
25
+
Paste the link in your terminal to download the selected package.
0 commit comments