Answers for "how to import and export mysql database"

SQL
13

how to export db from mysql

mysqldump -u username -p dbname > dbexport.sql
Posted by: Guest on May-19-2020
1

import database mysql command line

mysql -u username -p new_database < data-dump.sql
Posted by: Guest on September-13-2020
1

import mysql dump database command line linux

mysql -u<user_name> -puser_password> <database_name>
source /path/db.sql
Posted by: Guest on April-28-2020

Code answers related to "how to import and export mysql database"

Code answers related to "SQL"

Browse Popular Code Answers by Language