I am trying to export database from AWS RDS to my localhost, mysql dump command is like:
`mysqldump -h xxxxx(my RDS account) -u xxx(my username) -p remote_db > dump.sql`,
then my terminal would ask me to enter the password, after entering passsword, it kept showing Got error: 2003: Can't connect to MySQL server, what may cause this problem? I have checked this
Can't get mysqldump to connect to local mysql instance (error 2003 / 10061)
and try to use this solution to fix it, but same thing happens everytime, what can i do?