export database mysql
snippet in sql

how to export db from mysql

user7926

mysqldump -u username -p dbname > dbexport.sql

mysql export database command line

user8337

mysqldump --databases --user=root --password your_db_name > export_into_db.sql

copy database mysql

user2885

mysqldump -u root -p db_caweb | mysql -u root -p root db_caweb_23012021;

export database mysql

user5283

mysqldump -u [username] -p [database-you-want-to-dump] > [path-to-place-data-dump]

Import mysql'

user9831

LOAD DATA INFILE "name.csv" INTO TABLE "TableName"
FIELDS TERMINATED BY "sign"
LINES TERMINATED BY "sign"
IGNORE 1 LINES
(columns);