Closed RedSign77 closed 1 year ago
I think this issue is not related to the database size as the error message contains errors related to the definers.
I think you should try to dump the stored procedures, triggers, or the view tables and see if that breaks too.
https://www.ducea.com/2007/07/25/dumping-mysql-stored-procedures-functions-and-triggers/
Eg. using this command:
reward db dump -- --routines --no-create-info --no-data --no-create-db --skip-opt
Another idea would be to check the definer users in the database and if they not exists, then create them
Thank you @janosmiko !
Hey @janosmiko !
When i try to export a bigger database from PHPMyAdmin (more than 4GB the database) then the generated dump file is only 4GB. It's like the process stopped at 4GB. Environment: Magento 2
If i try the dump with the reward command line as the doc:
reward db dump | gzip -c > var/20220629.sql.gz
then the following message showing:
mysqldump: Got error: 1449: "The user specified as a definer (''@'%') does not exist" when using LOCK TABLES
I tried qith root acess, but is the same:
The generated sql dump contains the following:
cat var/20220629.sql.gz
Do you have any suggestion or solution for this?
Thanks, Zoltán