#-*- encoding: utf-8 -*- ''' @describe: 读取mysql数据库的工具类 ''' import sys sys.path.append("/home/hadoop/crawler") from configs import config import MySQLd ...
分类:
数据库 时间:
2019-12-17 00:34:29
阅读次数:
126
I'm not completely sure from the error you describe but it sounds like you don't have a .gn file in the root. I recently started getting into gn and m ...
分类:
其他好文 时间:
2019-12-12 19:57:35
阅读次数:
137
一、安装&启动 下载 https://hbase.apache.org/downloads.html 快速开始文档 https://hbase.apache.org/book.html quickstart 启动 基本操作 进入控制台 报错 list 显示数据库表 Describe 表名 Scan ...
分类:
其他好文 时间:
2019-12-09 11:47:22
阅读次数:
116
Problem Statement You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of ...
分类:
其他好文 时间:
2019-12-08 10:43:15
阅读次数:
90
本文讲述了Azure Sphere产品组发布的19.11更新。 ...
分类:
其他好文 时间:
2019-12-06 13:42:24
阅读次数:
98
语法:kubectl 【command】【type】【name】【flags】 ①command:子命令,用于操作Kubernetes集群资源对象的命令,如create, delete, describe, get, apply等 ②type:资源对象的类型,如pod, service, rc, d ...
分类:
Web程序 时间:
2019-12-03 23:29:03
阅读次数:
177
Linux md5sum 命令 通过 Linux 的 md5sum 命令,可以对指定的文件,计算出唯一的一个MD5值(128bit)。 通过比较文件前后的MD5值,可以判断文件是否发生变化(是否被修改过)。 1、md5sum 命令使用方式(通过md5sum --help查看): 2、计算一个文件的 ...
分类:
系统相关 时间:
2019-12-01 21:02:55
阅读次数:
93
You are given an array aa consisting of nn integer numbers. You have to color this array in kk colors in such a way that: Each element of the array sh ...
分类:
其他好文 时间:
2019-12-01 11:55:49
阅读次数:
65
查看表结构和alter 增加、修改、删除字段 16.查看表结构 (1)desc 表名; (2)describe表名; (3)show columns from 表名; (4) show create table 表名; (5) show fields from 表名; 17.alter命令 (1) ...
分类:
数据库 时间:
2019-11-30 21:10:12
阅读次数:
127
mysql 完整性备份 及备份注意事项 describe user; //查看表describe mysql.user // describe 可以简写成desccreate databese abc; //创建数据库show databases; 相当于是/var/lib/mysql/这里面会出现 ...
分类:
数据库 时间:
2019-11-30 12:06:59
阅读次数:
145