2018年8月2日
摘要:
concat配合information_schema的应用 1 concat的一般用法主要是用于拼接 示例: 执行语句 SELECT CONCAT('M','y','S','Q','L') 可以达到如下效果 2 在写SQL备份语句时,假定要导出三张表分别为world下的 之前我们写备份语句要写三条
阅读全文
posted @ 2018-08-02 15:05
90500042陈
阅读(68336)
推荐(0)
2018年8月1日
摘要:
# # 报错1 Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A # 以这种方式进入数据库
阅读全文
posted @ 2018-08-01 00:22
90500042陈
阅读(236)
推荐(0)
2018年7月30日
摘要:
""" Description: Author:Nod Date: Record: #---------------------------------v1-----------------------------------# """ import pymysql conn = pymysql.connect(host='172.30.2.118', port=3306, ...
阅读全文
posted @ 2018-07-30 08:52
90500042陈
阅读(110)
推荐(0)
2018年7月27日
摘要:
邮箱文件设置 1 #配置发邮件 2 /etc/mail.rc中追加 3 set bsdcompat 4 set from=c4kaichen@163.com 5 set smtp=smtp.163.com 6 set smtp-auth-user=c4kaichen 7 set smtp-auth-
阅读全文
posted @ 2018-07-27 15:31
90500042陈
阅读(814)
推荐(0)
2018年7月26日
摘要:
# # Do not change the following system generated value. # oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0#
阅读全文
posted @ 2018-07-26 20:54
90500042陈
阅读(203)
推荐(0)
2018年7月24日
摘要:
环境准备: [root@nodchen-db01-test day07]# mkdir -p /server/scripts/day07/test/{test.txt,oldboy.txt,oldgirl.txt} drwxr-xr-x 5 root root 4096 Jul 24 19:56 t
阅读全文
posted @ 2018-07-24 20:14
90500042陈
阅读(306)
推荐(0)
摘要:
源代码中发送邮件的方式最好要修改下 邮件发送正文内容方式: [root@nodchen-db01-test day07]# echo "nodchen is god " | mail -s "Warning info" 312051952@qq.com
阅读全文
posted @ 2018-07-24 19:39
90500042陈
阅读(803)
推荐(0)
2018年7月23日
摘要:
AWK系列#awk 中 NF表示取最后一列 NR表示取第几行 NR==3 表示取第三行[root@nodchen-db01-test ~]# free -m | awk 'NR==3 {print $NF}'
阅读全文
posted @ 2018-07-23 15:25
90500042陈
阅读(143)
推荐(0)
2018年7月22日
摘要:
说明: 1 因在测试发现如果用SQLyog导入数据需要下载excel驱动,因而选择Navicat 2 之前选择excel文件为xlsx 发现Navicat识别不了,因而转存为xls文件,测试OK 1 先将准备好的excel文件确认以下信息 建议列名采用英文定义 2 打开Navicat 右击 导入向导
阅读全文
posted @ 2018-07-22 11:35
90500042陈
阅读(2044)
推荐(0)
2018年7月16日
摘要:
效果如图: 实现方法:在当前用户的家目录下新建文件.vimrc [root@nodchen-db01-test ~]# pwd/root [root@nodchen-db01-test ~]# file .vimrc .vimrc: UTF-8 Unicode text 新建文件并放入以下内容。重新
阅读全文
posted @ 2018-07-16 19:13
90500042陈
阅读(685)
推荐(0)