1、打开你得命令行工具,输入: cd ~/.ssh2、生成密钥
#设置自己的邮箱,随意设置
$ ssh-keygen -t rsa -C "wqzbxh163.com"#输入保存密钥的文件名字
Enter file in which to save the key (/c/Users/dahai/.ssh/id_rsa): wqzbxh剩下…
查询今日数据
sql语句:
SELECT * FROM short_oper_log WHERE to_days(login_time) to_days(now());运行结果:
查询昨日数据
sql语句:
SELECT * FROM short_oper_log WHERE DATEDIFF(login_time,NOW()) -1;运行结果: 额外…