摘要: mysql1、清空自增序列:truncate table tablename;2、查询自增id @@identity3、ALTER TABLE table_name AUTO_INCREMENT = 1; 设置自增开始值4、查询表状态SHOW TABLE STATUS; 阅读全文
posted @ 2014-12-05 13:12 我不是黑马胖 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 项目有重大突破这种感觉很像齿轮,丝丝入扣,稍有差错动转不灵野草集不如呐喊感觉有以下几点1、没有力量2、没有深度3、故意卖弄 阅读全文
posted @ 2014-11-29 03:14 我不是黑马胖 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 卸载相应rpm安装服务,以php为例查找已安装服务 rpm -qa| grep php ,按依赖顺序依次卸载 rpm -e php.xxx.xxx.xxx,卸载mysql时遇到依赖跳不过的状况,执行 rpm -e --nodeps mysql.xxx.xxx.xxx国内无法访问Oracle进行登录注... 阅读全文
posted @ 2014-11-27 22:44 我不是黑马胖 阅读(118) 评论(0) 推荐(0) 编辑
摘要: -define(PAGECOUNT,3). %定义自己的页容量Pre = (Page -1) * ?PAGECOUNT, %页首 Tail = Page * ?PAGECOUNT + 1, %页尾 Query=ets:fun2ms(fun(Data=#process_state{number=N... 阅读全文
posted @ 2014-11-26 02:08 我不是黑马胖 阅读(183) 评论(0) 推荐(0) 编辑
摘要: erlang添加openssl支持(erlang连接mysql使用):1、配置openssl编译参数:./configure --prefix=/usr/local/service/openssl2、修改makefile编译选项,在CFLAG参数中加上-fPIC-shared 执行make&&mak... 阅读全文
posted @ 2014-11-26 02:04 我不是黑马胖 阅读(131) 评论(0) 推荐(0) 编辑