摘要:
今天在修改一个BUG时,数据中含有''和NULL,使用!=''查询,居然能找到正确的数据。 select * from test where key1 != ''; 然而查询空时必须条件都写上 select * from test where key1 = '' OR key2 is NULL; 然 阅读全文
摘要:
1、创建用户 ① 创建用户:useradd test | adduser test ② 设置密码:passwd test ③ 设置ssh: ssh test@主机名 ④ 连接后出现如图:$开始 表示没有指定shell版本 ⑤ 修改shell版本: vim /etc/passwd 对应账号修改未/bi 阅读全文