上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页
  2018年7月16日
摘要: 效果如图: 设置方法如下: 1 vim /etc/bashrc 2 3 #command-->history set 4 HISTFILESIZE=2000 #保存命令的总数默认总数为1000 5 HISTSIZE=2000 #设置了history命令输出最多的记录总数 6 HISTTIMEFORM 阅读全文
posted @ 2018-07-16 19:04 90500042陈 阅读(365) 评论(0) 推荐(0) 编辑
  2018年7月8日
摘要: 系统版本: [root@nodchen-db01-test scripts]# cat /etc/redhat-release CentOS release 6.9 (Final) 之前的python版本: [root@nodchen-db01-test scripts]# pythonPython 阅读全文
posted @ 2018-07-08 15:44 90500042陈 阅读(180) 评论(0) 推荐(0) 编辑
  2018年6月27日
摘要: 先不说话 先来一段代码块 1 mysql> show variables like 'autocommit'; 2 + + + 3 | Variable_name | Value | 4 + + + 5 | autocommit | ON | 6 + + + 7 1 row in set (0.00 阅读全文
posted @ 2018-06-27 19:13 90500042陈 阅读(1574) 评论(0) 推荐(0) 编辑
  2018年6月23日
摘要: F6打开命令行窗口 ctrl+shift+r 运行选中语句 #不过不建议使用,因为ctrl+r是执行当前所有语句,如果语句当中有delete update 后果不堪设想 阅读全文
posted @ 2018-06-23 11:33 90500042陈 阅读(135) 评论(0) 推荐(0) 编辑
  2018年6月21日
摘要: ###开发规范 开发规范:关键字大写,库名字小写,要有字符集 CREATE DATABSE oldboy CHARSET utf8; ###建议采用第一种 CREATE DATABSE oldboy CHARSET utf8mb4; ###lower_case_table_names begin## 阅读全文
posted @ 2018-06-21 19:55 90500042陈 阅读(255) 评论(0) 推荐(0) 编辑
  2018年6月20日
摘要: ###############################安装######################################## 安装部分我写了文档,可能不是很完善 文档如下→→ [root@db01 ~]# cd /server/tools [root@db01 tools]# 阅读全文
posted @ 2018-06-20 21:48 90500042陈 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 误删除root用户&误删除所有用户 1 # 2 #忘记root密码 登录并修改root密码 beign 3 # 4 5 mysqld_safe --skip-grant-tables --skip-networking & 6 [root@db01-sa ~]# mysql 7 Welcome to 阅读全文
posted @ 2018-06-20 13:27 90500042陈 阅读(212) 评论(0) 推荐(0) 编辑
  2018年6月18日
摘要: 1 创建表的语句 mysql> insert into nod (t1) values (10); mysql> select * from nod;+ +| t1 |+ +| 10 |+ +1 row in set (0.00 sec) 阅读全文
posted @ 2018-06-18 07:37 90500042陈 阅读(144) 评论(0) 推荐(0) 编辑
  2018年6月16日
摘要: 错误1 说明:在linux下,./xxx.sh执行shell脚本时会提示No such file or directory。但shell明明存在,为什么就是会提示这个呢? 这种其实是因为编码方式不对,如你在win下编辑sh,然后直接复制到linux下面。实现:有2种方法可以解决这个。1)在Windo 阅读全文
posted @ 2018-06-16 20:05 90500042陈 阅读(136) 评论(0) 推荐(0) 编辑
  2018年6月14日
摘要: shutdown /r 重启命令 阅读全文
posted @ 2018-06-14 16:30 90500042陈 阅读(85) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页