Export MySQL database from terminal
1. Export Database
mysqldump -u root -p database_name > /home/ubuntu/database_name.sql
2. Download Database
scp ubuntu@192.168.0.01:/home/ubuntu/database_name.sql /home/shahlal/Desktop
mysqldump -u root -p database_name > /home/ubuntu/database_name.sql
2. Download Database
scp ubuntu@192.168.0.01:/home/ubuntu/database_name.sql /home/shahlal/Desktop
Comments
Post a Comment