# mysql dump 6.0# # host: localhost database: samp_db#---------------------------------------# server version 3.23.2-alpha-log## table structure for table 'absence'#create table absence( student_id int(10) unsigned default '0' not null, date date default '0000-00-00' not null, primary key (student_id,date));## dumping data for table 'absence'#insert into absence values (3,'1999-09-03');insert into absence values (5,'1999-09-03');insert into absence values (10,'1999-09-08');......
%mysqldump --opt samp_db | mysql --compress -h boa.snake.net samp_db
%cd datadir%cp -r samp_db /usr/archive/mysql
%cd datadir/samp_db%cp member.* /usr/archive/mysql/samp_db%cp score.* /usr/archive/mysql/samp_db ....
% ls -t -r -1 update.[0-9]* | xargs cat | mysql --one-database db_name
最大的网站源码资源下载站,
新闻热点
疑难解答