Lightsail Instance Data Import To Lightsail Database: ERROR 1045 (28000): Access denied for user

0

I keep getting denied when entering MySQL password after executing the following command (example):

sudo mysqldump -u root --databases bitnami_wordpress --single-transaction --compress --order-by-primary -p$(cat /home/bitnami/bitnami_application_password) | sudo mysql -u dbmasteruser --host ls-abc123exampleE67890.czowadgeezqi.us-west-2.rds.amazonaws.com --password

I enter the password CORRECTLY and I get the following server reply:

ERROR 1045 (28000): Access denied for user 'dbmasteruser'@'17x.xx.xx.8x' (using password: YES) mysqldump: Got errno 32 on write

I am able to connect to the database via MySQL Workbench with no issues. I am running the commands via Direct SSH Terminal via Lightsail browser (Tried Putty as well). I also tried switch to an IAM account with the same result. Resources are all in same region and zone and I am using a static IP. Any suggestions?

Thank you in advance.

RMM
질문됨 일 년 전94회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠