Received this error when trying to dump a database:
mysqldump: Got error: 1449: The user specified as a definer ('root'@'localhost') does not exist when using LOCK TABLES
To dump out the database run the following:
mysqldump --single-transaction -u username -p db > db.sql
That’s it!
Leave a Comment