I was using mysqldump to export the database, like this:
mysqldump -u root -ppassword my_database > c:\\temp\\my_database.sql
Somehow, it on
In case you encounter an error like this
mysqldump: 1044 Access denied when using LOCK TABLES
A quick workaround is to pass the –-single-transaction option to mysqldump.
–-single-transaction
mysqldump
So your command will be like this.
mysqldump --single-transaction -u user -p DBNAME > backup.sql