Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit d478bf0

Browse files
authored
Merge branch 'master' into whatsnew-update
2 parents ba1339c + ba8e328 commit d478bf0

File tree

4 files changed

+43
-12
lines changed

4 files changed

+43
-12
lines changed

src/_data/toc/installation-guide.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ pages:
2828
exclude_versions: ["2.3"]
2929
children:
3030

31+
- label: Using AWS Elasticsearch
32+
url: /install-gde/prereq/es-aws.html
33+
exclude_versions: ["2.3"]
34+
3135
- label: Configure nginx and Elasticsearch
3236
url: /install-gde/prereq/es-config-nginx.html
3337
exclude_versions: ["2.3"]

src/cloud/project/services-mysql.md

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ The `mysql` service provides persistent data storage based on [MariaDB](https://
1313
{% include install/maria-db.md %}
1414

1515
{:.bs-callout-warning}
16-
Be careful when upgrading MariaDB from version 10.1 to 10.2.
17-
MariaDB 10.1 is the last version that supports XtraDB as the storage engine. Version 10.2 uses InnoDB for the storage engine. Once you upgrade from 10.1 to 10.2, you cannot rollback the change. {{site.data.var.ee}} supports both storage engines; however, you must check extensions and other systems used by your project to make sure they are compatible with MariaDB 10.2. Read about this [backwards incompatible change](https://mariadb.com/kb/en/upgrading-from-mariadb-101-to-mariadb-102/#incompatible-changes-between-101-and-102).
16+
Be careful when upgrading MariaDB from version 10.1 to 10.2. MariaDB 10.1 is the last version that supports _XtraDB_ as the storage engine. MariaDB 10.2 uses _InnoDB_ for the storage engine. After you upgrade from 10.1 to 10.2, you cannot roll back the change. {{site.data.var.ee}} supports both storage engines; however, you must check extensions and other systems used by your project to make sure they are compatible with MariaDB 10.2. See [Incompatible Changes Between 10.1 and 10.2](https://mariadb.com/kb/en/upgrading-from-mariadb-101-to-mariadb-102/#incompatible-changes-between-101-and-102).
1817

1918
{% include cloud/service-config-integration-starter.md %}
2019

21-
## Enable MySQL
20+
{:.procedure}
21+
To enable MySQL:
2222

2323
1. Add the required name, type, and disk value (in MB) to the `.magento/services.yaml` file.
2424

@@ -41,21 +41,40 @@ MariaDB 10.1 is the last version that supports XtraDB as the storage engine. Ver
4141
1. Add, commit, and push your code changes.
4242

4343
```bash
44-
git add -A && git commit -m "Enable mysql service" && git push origin <branch-name>
44+
git add -A && git commit -m "Enable mysql service" && git push origin <branch-name>
4545
```
4646

4747
1. [Verify the service relationships]({{ site.baseurl }}/cloud/project/services.html#service-relationships).
4848

4949
{%include cloud/tip-change-installed-service-version.md%}
5050

51-
## Set up multiple database users
51+
## Configure MySQL database
5252

53-
Optionally, you can set up multiple databases and multiple users with different permissions.
53+
You have the following options when configuring the MySQL database:
5454

55-
An _endpoint_ is a set of credentials (or users) with specific privileges. By default, there is one endpoint named `mysql` that has administrator access to all defined databases. To set up multiple database users, you must define multiple endpoints in the services.yaml file and declare the relationships in the `.magento.app.yaml` file. For Pro Staging and Production environments, submit a Support ticket to request the additional user.
55+
- **`schemas`**—A schema defines a database. The default schema is the `main` database.
56+
- **`endpoints`**—Each endpoint represents a credential with specific privileges. The default endpoint is `mysql`, which has `admin` access to the `main` database.
57+
- **`properties`**—Properties are used to define additional database configurations.
5658

57-
{:.bs-callout-warning}
58-
You cannot use multiple _databases_ with {{site.data.var.ee}}, but you **can** create multiple endpoints to restrict access to the `main` database.
59+
The following is a basic example configuration in the `.magento/services.yaml` file:
60+
61+
```yaml
62+
mysql:
63+
type: mysql:10.4
64+
disk: 5120
65+
configuration:
66+
properties:
67+
optimizer_switch: "rowid_filter=off"
68+
optimizer_use_condition_selectivity: 1
69+
```
70+
71+
The `properties` in the above example modifies the default `optimizer` settings as [recommended in the Performance Best Practices guide]({{ site.baseurl }}{{ site.gdeurl }}/performance-best-practices/configuration.html#indexers).
72+
73+
### Set up multiple database users
74+
75+
Optionally, you can set up multiple users with different permissions for accessing the `main` database.
76+
77+
By default, there is one endpoint named `mysql` that has administrator access to the database. To set up multiple database users, you must define multiple endpoints in the `services.yaml` file and declare the relationships in the `.magento.app.yaml` file. For Pro Staging and Production environments, submit a Support ticket to request the additional user.
5978

6079
Use a nested array to define the endpoints for specific user access. Each endpoint can designate access to one or more schemas (databases) and different levels of permission on each.
6180

@@ -65,11 +84,11 @@ The valid permission levels are:
6584
- `rw`: SELECT queries and INSERT, UPDATE, and DELETE queries are allowed.
6685
- `admin`: All queries are allowed, including DDL queries (CREATE TABLE, DROP TABLE, and so on).
6786

68-
If no endpoints are defined, a single endpoint named `mysql` has `admin` access to the `main` database. For example:
87+
For example:
6988

7089
```yaml
7190
mysql:
72-
type: mysql:10.3
91+
type: mysql:10.4
7392
disk: 5120
7493
configuration:
7594
schemas:
@@ -85,6 +104,9 @@ mysql:
85104
importer:
86105
privileges:
87106
main: rw
107+
properties:
108+
optimizer_switch: "rowid_filter=off"
109+
optimizer_use_condition_selectivity: 1
88110
```
89111

90112
In the preceding example, the `admin` endpoint provides admin-level access to the `main` database, the `reporter` endpoint provides read-only access, and the `importer` endpoint provides read-write access, which means:

src/guides/v2.4/extension-dev-guide/searching-with-repositories.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ $filter
4141

4242
This filter will find all urls with the suffix of "magento.com".
4343

44+
{:.bs-callout-info}
45+
A full list of condition types can be found in the [Rest API Reference]({{ page.baseurl }}/rest/performing-searches.html).
46+
4447
### Filter Group
4548

4649
The [`FilterGroup`]({{ site.mage2bloburl }}/{{ page.guide_version }}/lib/internal/Magento/Framework/Api/Search/FilterGroup.php) class acts like a collection of Filters that apply one or more criteria to a search.

src/guides/v2.4/install-gde/install/cli/install-cli.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ Any options that contain spaces or special characters must be enclosed in either
9090

9191
The following options specify the user information and credentials for the Magento admin user.
9292

93-
In {{site.data.var.ee}} version 2.2.8 and later, you can create the Magento admin user during or after installation. If you create the user during installation, all admin credential variables are required. See [Sample localhost installations](#install-cli-example).
93+
You can create the Magento admin user during or after installation. If you create the user during installation, all admin credential variables are required. See [Sample localhost installations](#install-cli-example).
94+
95+
The following tables provide many but not all available install parameters. For a complete list, see the [Command-line Tools Reference](https://devdocs.magento.com/guides/v2.4/reference/cli/magento.html).
9496

9597
|Name|Value|Required?|
9698
|--- |--- |--- |

0 commit comments

Comments
 (0)