This time,i willshare about how to make a mysql database backup via linux console.
Example :
- database name : coba.sql
- username : tesaja
- password : 12345
- path : /home/
and the sintaks :
mysqldump -u [username] -p [password] database_name > [path]/file_name.sql
So the command is :
mysqldump -u tesaja -p 12345 coba > /home/coba_backup.sql
0 comments:
Post a Comment