摘要:1.查找错误日志文件:grep "error" text.txt | wc -l
阅读全文
摘要:package com.baidu.mysql;import java.sql.*; public class MysqlJdbc { /** * @param args */ public static void main(String[] args) { // TODO Auto-generat
阅读全文
摘要:create table msg(id int primary key auto_increment,title varchar(20),name varchar(60),content varchar(1000))charset utf8; insert into msg (title,name,
阅读全文
摘要:TPS (transaction per second)代表每秒执行的事务数量,可基于测试周期内完成的事务数量计算得出。例如,用户每分钟执行6个事务,TPS为6 / 60s = 0.10 TPS。 同时我们会知道事务的响应时间(或节拍),以此例,60秒完成6个事务也同时代表每个事务的响应时间或节拍为
阅读全文
摘要:各种showshow columns from my_student;show grants for root;show aviables;show processlist;show table status alter table my_class add id varchar(10);alter
阅读全文
摘要:20180109-- 高级查询 select * from my_student; select * from my_int;select * from my_student,my_int; select * from (select * from my_student) as s; alter t
阅读全文
摘要:代理端口设置:127.0.0.1:8888 https抓包设置 模拟post请求: http://xxx.xxxx.com/portal/login.htm Cookie: xxxx account=13592xxxxxx&password=xxxxxx&type=1 Content-Type: a
阅读全文