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

Provide information about how to (re-)create mysql triggers #4647

Closed
@hostep

Description

@hostep

New topic request

Description

This comes from a request over here: magento/magento2#23023

It's not documented yet how mysql triggers are created in the database. It would be beneficial that this could be found easily so people who are missing triggers in their database know how to (re-)create them.

Content checklist

Not sure where this could go, I think either in the mysql section, or in the indexing section?

So to create triggers in the database, you have to make sure the indexers are set to "Update by Schedule". If they are already set to this mode and you are still missing triggers, you can first set them to "Update on Save" and then change them back to "Update by Schedule".

This change of indexer modes can be done in the backend using System => Index Management.
Or via the command line: bin/magento indexer:set-mode <mode> [<indexer1> <indexer2> ...] where mode is either realtime or schedule.

Metadata

Metadata

Labels

2.3.xMagento 2.3 related changesTechnicalUpdates to the code or processes that alter the technical content of the doc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions