본문 바로가기

OS/Linux

Mysql Backup and Restore

backup: # mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql

restore:# mysql -u root -p[root_password] [database_name] < dumpfilename.sql


'OS > Linux' 카테고리의 다른 글

Ubuntu nameserver 변경.  (0) 2017.09.08
You could try using --skip-broken to work around the problem  (0) 2016.05.27
CentOS apache php mysql 환경설졍  (0) 2016.04.25
Centos7 현재 디렉토리 전체 size.  (0) 2014.08.14
samba mount  (0) 2014.08.14