mysql export database command line
mysqldump -uroot -p root YourDatabaseName > WantedSQLFile.sql
mysql export database command line
mysqldump -uroot -p root YourDatabaseName > WantedSQLFile.sql
mysql export database command line
mysqldump --databases --user=root --password your_db_name > export_into_db.sql
phpmyadmin export database
EXPORT
1. Connect to your database using phpMyAdmin.
2. From the left-side, select your database.
3. Click the Export tab at the top of the panel.
4. Select the Custom option.
5. You can select the file format for your database. In this example, we will use the default SQL option.
6. Click Select All in the Export box to choose to export all tables.
7. At this stage make note of the WordPress prefix. It will be needed when you are adding the database to your new WordPress Hosting service. In this example it is wp_.
8. Select the check box, Add DROP TABLE / VIEW / PROCEDURE / FUNCTION.
9. If you wish to change the name of your backup database, you can do so in the File name template section .
10. Click Go.
11. This will export your database content in the form of an .sql file to your local computer.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us