Tuesday, October 09, 2007

MySQL for a start

TRUNCATE TABLE ;
remove all data and reset auto_increment field

load data local infile '/path/to/localfile.tsv'
into table
fields terminated by '\t'
lines terminated by '\n'
(field1, field2, field3)
import data into a table.

Exploring replication, the basic way to prevent database problem.

This page is powered by Blogger. Isn't yours?