How to Export Mysql Database using Command Line in Ubuntu?
Now, let's see post of how to export mysql database using command line in ubuntu. i explained simply about how to export mysql database using command line. you can see importing mysql database using command line. you can understand a concept of mysql export database via command line.
When you have large size of database then you can not easily export from phpmyadmin or any other software. so you must have to use mysql commands for it. so here i will give you simple command to export large size database using command in ubuntu.
mysqldump -u username -p database_name > data-dump.sql
mysqldump -u root -p laravel > laravel_dump.sql
i hope it can help you....
We are Recommending you
- How to Install Yarn npm in Ubuntu?
- How to Upgrade PHP Version from 7.3 to 7.4 in Ubuntu?
- Node JS Mysql Connection Example
- How to add 1 day to the date column in MySQL?
- MYSQL Query for Data between Two Dates Example
- How to set ANDROID_HOME environment variable in ubuntu?
- How to upgrade node.js version in Ubuntu?
- How to enable rewrite mode for apache in ubuntu?
- How to copy one table data into another table using Mysql Query?
- How to count unique domains from email address field in MySQL ?
- How to Get Query Log in Laravel Eloquent?