Mysqldump

From ElectroDragon
Jump to navigation Jump to search

export

  • mysqldump -u root -p RUNOOB runoob_tbl > dump.txt
  • mysqldump -u root -p8561312 control |gzip > control.sql.gz

import by mysql command line

  • create database XXX;
  • use XXX;
  • source BBB.txt