10 2018 档案

摘要:https://blog.csdn.net/oujiangping/article/details/78580450 https://blog.csdn.net/gatieme/article/details/78885908 ps aux|grep mysql-proxy 第二个就是3318的进程 阅读全文
posted @ 2018-10-30 00:30 taek 阅读(215) 评论(0) 推荐(0)
摘要:详见 这里 Let's say I have code like this: The PDO documentation says: Is that truly all I need to do to avoid SQL injections? Is it really that easy? You 阅读全文
posted @ 2018-10-25 16:38 taek 阅读(988) 评论(0) 推荐(0)
摘要:详见 https://stackoverflow.com/questions/134099/are-pdo-prepared-statements-sufficient-to-prevent-sql-injection/12202218#12202218 php pdo prepare真的能防止sq 阅读全文
posted @ 2018-10-25 14:14 taek 阅读(468) 评论(0) 推荐(0)
摘要:./configure --prefix=/usr/local/php7.1.5 --with-curl --with-iconv-dir --with-mysqli --with-openssl --with-pcre-regex --with-pdo-mysql --with-pear --wi 阅读全文
posted @ 2018-10-22 19:00 taek 阅读(283) 评论(0) 推荐(0)
摘要:dbproxy 支持 in 查询, 当in 中的字段 属于不同的分表时, QPS约为 5000左右, 如果为 等值查询, qps的30000左右 主要原因是 对于in操作,会产生多个不同分表的sql, 这些sql的发送完全是顺序的, 发送第二个sql, 要完全等到 第一个SQL结果的返回, src/ 阅读全文
posted @ 2018-10-19 22:14 taek 阅读(488) 评论(0) 推荐(0)
摘要:有一个整数数组,请你根据快速排序的思路,找出数组中第K大的数。给定一个整数数组a,同时给定它的大小n和要找的K(K在1到n之间),请返回第K大的数,保证答案存在。测试样例:[1,3,5,2,2],5,3 http://blog.csdn.net/hymanxq/article/details/510 阅读全文
posted @ 2018-10-13 09:21 taek 阅读(1090) 评论(0) 推荐(0)
摘要:cat /etc/supervisord.conf https://www.cnblogs.com/yuzhoushenqi/p/6825204.html http://127.0.0.1:1001/ 阅读全文
posted @ 2018-10-11 15:53 taek 阅读(300) 评论(0) 推荐(0)