How can I backup a mysql database which is running on a remote server, I need to store the back up file in the local pc.
Tried all the combinations here, but this worked for me:
mysqldump -u root -p --default-character-set=utf8mb4 [DATABASE TO BE COPIED NAME] > [NEW DATABASE NAME]