Questions tagged [mysql-triggers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers

how to create trigger in db magento2

Iam running magento2 2.3.5 and i want to make trigger in db between those table which will showing in following : this is a table names dropship_order include 9 column each column will generate from ...
Hamad Mohammed's user avatar
0 votes
1 answer

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

I've got a problem with migrating data from Magento 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.
kubaJS's user avatar
  • 55
1 vote
1 answer

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]: ...
Mage Explorer's user avatar
0 votes
1 answer

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 ...
koseduhemak's user avatar
1 vote
0 answers

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 `...
Karan Adhikari's user avatar
1 vote
1 answer

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 ...
brentwpeterson's user avatar
1 vote
0 answers

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 ...
manish_khot's user avatar
2 votes
2 answers

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\...
Mahendra Jella's user avatar
42 votes
4 answers

What is mview in Magento 2?

First of all what I know : Index management is useful for increasing store performance. EAV has one will store data in different tables. So that retrieving data is time-consuming. So ...
Sivakumar K's user avatar
  • 2,013
0 votes
1 answer

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 ...
abiyi's user avatar
  • 217
1 vote
3 answers

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. ...
eisaacson's user avatar
  • 151
6 votes
2 answers

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 '...
Stefan's user avatar
  • 1,487
2 votes
0 answers

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

Magento Details: Magento EE 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 ...
Rob's user avatar
  • 534
9 votes
1 answer

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 ...
Shaughn's user avatar
  • 1,762
2 votes
1 answer

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 ...
Moose's user avatar
  • 7,495