摘要: /* Mysql基础操作(优化) @auther: luowen @time: 2013-07-26 1.mysql复制表机构和表数据 create table t1 like t2; insert into t1 select * from t2; 2.mysql创建索引 method 1: increate [unique] [index] [primary key] indexName on t1(name); sho... 阅读全文
posted @ 2013-08-01 17:26 arvim 阅读(339) 评论(0) 推荐(0) 编辑
摘要: /** @author:luowen @time:2013-08-01 [sphinx] tar -zxvf sphinx-2.1.1-beta cd sphinx-2.1.1-beta ./configure --prefix=/usr/local/sphinx/ --with-mysql make && make install 编辑配置文件 四个块 1.... 阅读全文
posted @ 2013-08-01 17:23 arvim 阅读(342) 评论(0) 推荐(0) 编辑