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

Commit 392a8f7

Browse files
authored
Merge pull request #4129 from bradjones1/mysql-compatibility
Add warning regarding GTID consistency
2 parents 198d682 + 410c2ce commit 392a8f7

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

guides/v2.1/install-gde/prereq/mysql.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ Magento _strongly_ recommends you observe the following standard when you set up
3030
* Familiarize yourself with [these potential MySQL trigger limitations](http://dev.mysql.com/doc/mysql-reslimits-excerpt/5.1/en/stored-program-restrictions.html){:target="_blank"} before you continue.
3131
* If you use MySQL database replication, be aware that Magento does _not_ support MySQL statement-based replication. Make sure you use _only_ [row-based replication](http://dev.mysql.com/doc/refman/5.1/en/replication-formats.html){:target="_blank"}.
3232

33+
{:.bs-callout .bs-callout-warning} Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions,
34+
which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database
35+
implementations utilizing GTID-based replication, such as
36+
[Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).
37+
3338
{:.bs-callout .bs-callout-info}
3439
If your web server and database server are on different hosts, perform the tasks discussed in this topic on the database server host then see [Set up a remote MySQL database connection]({{ page.baseurl }}/install-gde/prereq/mysql_remote.html).
3540

guides/v2.2/install-gde/prereq/mysql.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ Magento _strongly_ recommends you observe the following standard when you set up
2626
* Familiarize yourself with [these potential MySQL trigger limitations](http://dev.mysql.com/doc/mysql-reslimits-excerpt/5.1/en/stored-program-restrictions.html){:target="_blank"} before you continue.
2727
* If you use MySQL database replication, be aware that Magento does _not_ support MySQL statement-based replication. Make sure you use _only_ [row-based replication](http://dev.mysql.com/doc/refman/5.1/en/replication-formats.html){:target="_blank"}.
2828

29+
{:.bs-callout .bs-callout-warning} Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions,
30+
which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database
31+
implementations utilizing GTID-based replication, such as
32+
[Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).
33+
2934
{:.bs-callout .bs-callout-info}
3035
If your web server and database server are on different hosts, perform the tasks discussed in this topic on the database server host then see [Set up a remote MySQL database connection]({{ page.baseurl }}/install-gde/prereq/mysql_remote.html).
3136

guides/v2.3/install-gde/prereq/mysql.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ Magento _strongly_ recommends you observe the following standard when you set up
2626
* Familiarize yourself with [these potential MySQL trigger limitations](http://dev.mysql.com/doc/mysql-reslimits-excerpt/5.1/en/stored-program-restrictions.html){:target="_blank"} before you continue.
2727
* If you use MySQL database replication, be aware that Magento does _not_ support MySQL statement-based replication. Make sure you use _only_ [row-based replication](http://dev.mysql.com/doc/refman/5.1/en/replication-formats.html){:target="_blank"}.
2828

29+
{:.bs-callout .bs-callout-warning} Magento 2 currently utilizes `CREATE TEMPORARY TABLE` statements inside transactions,
30+
which are [incompatible](https://dev.mysql.com/doc/refman/5.7/en/replication-gtids-restrictions.html) with database
31+
implementations utilizing GTID-based replication, such as
32+
[Google Cloud SQL second-generation instances](https://cloud.google.com/sql/docs/features#differences).
33+
2934
{:.bs-callout .bs-callout-info}
3035
If your web server and database server are on different hosts, perform the tasks discussed in this topic on the database server host then see [Set up a remote MySQL database connection]({{page.baseurl }}/install-gde/prereq/mysql_remote.html).
3136

0 commit comments

Comments
 (0)