In my phpmyadmin i have a database called "testDB" and with my command line i'm trying to export the database, but every time i try to run this command i get mysql error 1449:
mysqldump -u root -p testDB > data-dump.sql
the error is this: "The user specified as a definer ('myuser'@'%') does not exist" when using LOCK TABLES"
I analyzed the sql file and saw that this username appears only once at the bottom of the file:
"/* 50013 DEFINER='myuser'@'%' sql security definer */"
Without export database and without create an new user because i can't, how can i do for resolve this issue?
Is it possible to replace this value with a specific SQL command for my database?
Details of my server:
-Apache/2.4.29
-MariaDB 10.4.18
-PHP 7.4.18