mysqldump: Got error: 1044: Access denied for user 'elcharitos'@'localhost' to database
# Try granting lock priviledge first:
GRANT SELECT, LOCK TABLES ON *.* TO 'dbuser'
# then run command again
mysqldump: Got error: 1044: Access denied for user 'elcharitos'@'localhost' to database
# Try granting lock priviledge first:
GRANT SELECT, LOCK TABLES ON *.* TO 'dbuser'
# then run command again
mysqldump: got error: 1045: access denied for user
This worked for me
mysqldump -u root -p mydbscheme > mydbscheme_dump.sql
after issuing the command it asks for a password:
Enter password:
entering the password will make the dump file
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us