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/apt-download-deb.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
3
3
Download the packages from [Percona Product Downloads](https://www.percona.com/downloads). If needed, [Instructions for the Percona Product Download](download-instructions.md) are available.
4
4
5
-
The following example downloads Percona Server for MySQL {{release}} release packages for Debian 10:
5
+
The following example downloads Percona Server for MySQL {{release}} release packages for Ubuntu 22.04:
Copy file name to clipboardexpand all lines: docs/docker.md
+14-14
Original file line number
Diff line number
Diff line change
@@ -31,8 +31,8 @@ available locally.
31
31
32
32
To view the container's logs, use the following command:
33
33
34
-
```shell
35
-
docker logs ps --follow
34
+
```{.bash data-prompt="$"}
35
+
$ docker logs ps --follow
36
36
```
37
37
??? example "Expected output"
38
38
@@ -53,8 +53,8 @@ You can access the server when you see the `ready for connections` information i
53
53
54
54
You can pass options with the `docker run` command. For example, the following command uses UTF-8 as the default setting for character set and collation for all databases:
55
55
56
-
```shell
57
-
[root@docker-host] $ docker run -d \
56
+
```{.bash data-prompt="$"}
57
+
$ docker run -d \
58
58
--name ps \
59
59
-e MYSQL_ROOT_PASSWORD=root \
60
60
percona/percona-server:{{vers}} \
@@ -68,8 +68,8 @@ The `docker exec` command lets you have a shell inside the container. This comma
68
68
69
69
An example of accessing the detached container:
70
70
71
-
```shell
72
-
[root@docker-host] $ docker exec -it ps /bin/bash
71
+
```{.bash data-prompt="$"}
72
+
$ docker exec -it ps /bin/bash
73
73
```
74
74
75
75
If you need to troubleshoot, the error log is found in `/var/log/` or `/var/log/mysql/`. The file name may be error.log or mysqld.log.
@@ -147,8 +147,8 @@ To link a container running your application
147
147
with the Percona Server container,
148
148
run it with the following command:
149
149
150
-
```shell
151
-
[root@docker-host] $ docker run -d \
150
+
```{.bash data-prompt="$"}
151
+
$ docker run -d \
152
152
--name app \
153
153
--link ps \
154
154
app/image:latest
@@ -176,8 +176,8 @@ For example, if you create a data directory on a suitable volume
176
176
on your host system named `/local/datadir`,
177
177
you run the container with the following command:
178
178
179
-
```shell
180
-
[root@docker-host] $ docker run -d \
179
+
```{.bash data-prompt="$"}
180
+
$ docker run -d \
181
181
--name ps \
182
182
-e MYSQL_ROOT_PASSWORD=root \
183
183
-v /local/datadir:/var/lib/mysql \
@@ -195,8 +195,8 @@ Do not add MYSQL_ROOT_PASSWORD to the `docker run` command if the data directory
195
195
196
196
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:
4. Unpack the bundle to get the packages: `tar xvf Percona-Server-{{release}}-x86_64-bundle.tar`.
@@ -108,13 +108,13 @@ Make a full backup (or dump if possible) of your database. Move the database con
108
108
3. Download the packages of the desired series for your architecture from the [download page](https://www.percona.com/downloads). The easiest way is to download the bundle which contains all the packages. The following example downloads Percona Server for MySQL {{release}} packages for CentOS 9:
0 commit comments