Currently I am learning MySql using commandline in ubuntu and made a backup of my database named ‘sandwich’ using mysqldump command.
mysql> #mysqldump -u root -p123456 sandwich > db_backup.sql;
Where I can find this ‘db_backup.sql’ file on the disk. Please tell me a specific file path where i can find this file.
It depends where you were when you executed the command – db_backup.sql will be found there as you didn’t specify a full path.
Try your home dir or the web dir if you can’t remember – anywhere you might have been when entering mysql. If all else fails you can use find:
this may take some time so if you can narrow down the area of search and replace / with ~/ for example, that would help.