Questions tagged [mysql-triggers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
361 views

Magento 1 to Magento 2 Data Migration - migrate:data General error: 1419

I've got a problem with migrating data from Magento 1.9.4.2 to Magento 2.3.2 in migrate:data. In step: Stage I've got General error 1419 and I don't know how to fix it.
user avatar
  • 55
1 vote
1 answer
371 views

Data Migration Error related to CREATE TRIGGER

i'm getting the error when i try to run data step for the data migration tool. The extension "codisto" has been uninstalled while ago. Please advise [Zend_Db_Statement_Exception] SQLSTATE[42000]: ...
user avatar
0 votes
1 answer
1k views

Could not save product - TRIGGER command denied to user

Could not save product in Magento 2.1.9 after copying the database from another Magento 2.1.9 shop and changing the mysql user (f.e. if you copy your develop database to production server, the ...
user avatar
1 vote
0 answers
184 views

Creating trigger using mysql_setup

I have created custom module and through which i want to created trigger. below is installer code. $installer = $this; $installer->startSetup(); $installer->run(" delimiter | CREATE TRIGGER `...
user avatar
1 vote
1 answer
2k views

Magento 2 - MySQL privilege error on module install

I am getting the following error when installing a module on AWS. General error: 1419 You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe ...
user avatar
1 vote
0 answers
286 views

Magento 2 : UpgradeSchema write mysql trigger

I am trying to add mysql trigger using the upgradeschema in magento 2 but I am getting the "Cannot execute multiple queries". Below is my trigger DELIMITER $$ CREATE TRIGGER ...
user avatar
2 votes
2 answers
4k views

How to create MySQL Triggers through setup script

I placed trigger statement in installer script but it didn't create in MySQL. Created File here Custom/Module/Setup/UpgradeSchema.php <?php namespace Custom\Module\Setup; use Magento\Framework\...
user avatar
40 votes
3 answers
18k views

What is mview in Magento 2?

First of all what I know : Index management is useful for increasing store performance. EAV has one disadvantage.it will store data in different tables. So that retrieving data is time-consuming. So ...
user avatar
  • 1,993
0 votes
1 answer
59 views

Unable to nullify a custom field

There is a custom extension that manage the shipping address for a local shipping carriers. Besides some extra fields for local data there is a custom field called tipo_direccion (address type in ...
user avatar
  • 217
1 vote
3 answers
112 views

Bypass reindex triggers on bulk upload in EE 1.14 (CE 1.9)

We've recently upgraded to EE 1.14 (CE 1.9). The mysql triggers solve a lot of problems with our reindexing. However, we have several scripts that update thousands to millions of products at a time. ...
user avatar
  • 151
5 votes
2 answers
9k views

SQL Syntax error or access violation: 1142 TRIGGER command denied to user

If I want to update a configurable product I do get an error message: SQLSTATE[42000]: Syntax error or access violation: 1142 TRIGGER command denied to user 'dbadmin_magento'@'localhost' for table '...
user avatar
  • 1,419
2 votes
0 answers
348 views

Magento EE 1.14.2.0 Indexing Issue / Database Repair Tool failure "You have missed trigger(s)"

Magento Details: Magento EE 1.14.2.0 12 Websites 80 Store Groups 160 Stores 3500 Categories 15k products 75 Customer Groups Mysql 5.5 php-fpm 5.6 My import process has always worked successfully ...
user avatar
  • 524
8 votes
1 answer
2k views

Is there a method in Magento that allows to create MySQL triggers and stored procedures?

I am trying to find out if Magento has a method available that allows to create MySQL triggers and Stored Procedures. Currently, i am using the core resource DB adapter to insert the raw SQL directly ...
user avatar
  • 1,732
2 votes
1 answer
134 views

Table with calculated column

If I'd like to have a table with three columns: firstname, lastname and username (a combination of firstname and lastname) I'd like the table to auto generate the username as soon as a record is ...
user avatar
  • 7,475