/*启动MySQL*/netstartmysql/*连接与断开服务器*/mysql-h地址-P端口-u用户名-p密码/*跳过权限验证登录MySQL*/mysqld--skip-grant-tables--修改root密码密码加密函数password()updatemysql.usersetpassw...
分类:
数据库 时间:
2014-07-24 17:06:06
阅读次数:
328
#include #include//get namespace related stuff using std::cin; using std::cout; using std::endl; using std::flush; using std::string; using std::vecto...
分类:
编程语言 时间:
2014-07-23 22:12:17
阅读次数:
350
DBMS_SQLTUNE优化SQL是在oracle10g才出来的新特性,使用它能很大程度上方便对sql的分析和优化。执行DBMS_SQLTUNE包进行sql优化需要有advisor的权限:stat>grant advisor to stat;Grant succeeded.使用DBMS_SQLTUN...
分类:
数据库 时间:
2014-07-22 22:49:13
阅读次数:
335
# 配置ip# /etc/iproute2/rt_tables增加2个路由表200 telecom201 unicom# /etc/rc.local添加原路返回路由(可以将以下内容写入/etc/init.d/networking脚本中)ip route flush table telecomip r...
分类:
移动开发 时间:
2014-07-22 22:44:33
阅读次数:
240
默认情况下,innodb的参数设置的非常小,在生产环境中远远不够用 比如最重要的两个参数 innodb_buffer_pool_size 默认是8M innodb_flush_logs_at_trx_commit 默认设置的是1 也就是同步刷新log(可以这么理解) inn...
分类:
数据库 时间:
2014-07-21 10:37:36
阅读次数:
343
Lucene将索引文档的过程设计成两个阶段,写入内存阶段和写入硬盘阶段。在写入内存阶段,Lucene通过IndexChain把document分解并把相关信息存储到内存中,等到满足flush条件(内存容量或者文档个数积累到临界值),就通过IndexChain把内存中的数据写入硬盘。IndexChain是Lucene索引文..
分类:
其他好文 时间:
2014-07-21 01:48:24
阅读次数:
541
1-->在DOS窗口下输入net stop mysql572-->切换到mysql的bin目录,运行mysqld --skip-grant-tables3-->新开DOS,切换到bin目录,运行mysql -u root4-->use mysqlupdate user set password=pa...
/*
—————————————————————————————————————————————————————————————————————————————
author : Grant Yuan
time : 2014.7.19
aldorithm: 01背包+卡精度
——————————————————...
分类:
其他好文 时间:
2014-07-19 23:47:28
阅读次数:
372
/*
————————————————————————————————————————————————————————————————————————————————————————————————
author : Grant Yuan
time : 2014.7.19
aldorithm: 二维背包+完全背包
...
分类:
其他好文 时间:
2014-07-19 23:12:29
阅读次数:
296
error1:ERROR 1045 (28000): Access denied for user 'root'@'xyt.local' (using password: YES)grant all on mysql.* to 'root'@'192.168.11.172' identified b...
分类:
其他好文 时间:
2014-07-19 22:38:47
阅读次数:
258