sql语句
2015-10-28 11:08 breece 阅读(159) 评论(0) 编辑 收藏 举报mysql -h host -u user -p;
load data local infile '/path/pet.txt' into table pet lines terminated by '\r\n';
insert into pet values('Puffball','Diane','hamster','f','1999-03-30',NULL);
insert into user(host,user,password,select_priv,insert_priv,uodate_priv) values('localhost','guest',PASSWORD('122'),'Y','Y','Y');
select host,user,passeword from user where user='guest';