1、官网下载安装包https://downloads.mysql.com/archives/community/ 2、通过xftp将安装包上传至Linux服务器 3、解压压缩包tar -xvf mysql-8.0.18-linux-x86_64-minimal.tar 4、继续解压需要的那一个, t ...
分类:
数据库 时间:
2021-01-14 10:56:59
阅读次数:
0
知识点 Table API 和 SQL 的程序结构,与流式处理的程序结构类似;也可以近似地认为有这么 几步:首先创建执行环境,然后定义 source、transform 和 sink。 1、依赖:Table API 和 SQL 需要引入的依赖 <!-- old planner flink table ...
分类:
其他好文 时间:
2021-01-14 10:44:32
阅读次数:
0
ck数据导出到csv文件 clickhouse-client -h 127.0.0.1 --database="db" --query="select * from db.test_table FORMAT CSV" > test.csv csv文件导入到ck数据库 clickhouse-clien ...
分类:
其他好文 时间:
2021-01-13 11:25:56
阅读次数:
0
一、手动安装 1、安装wine $ sudo add-apt-repository ppa:wine/wine-builds $ sudo apt-get update $ sudo apt-get install winehq-devel 或下载稳定版本 $ sudo apt-get instal ...
分类:
系统相关 时间:
2021-01-12 11:23:52
阅读次数:
0
参考官网文档: https://github.com/redisson/redisson 查看配置详细信息: https://github.com/redisson/redisson/wiki/Table-of-Content #step1 redisson知识: 一,可重用锁(Reentrant ...
分类:
其他好文 时间:
2021-01-12 10:58:48
阅读次数:
0
大纲 1. 多表查询 2. 事务 3. DCL 多表查询: * 查询语法: select 列名列表 from 表名列表 where.... * 准备sql # 创建部门表 CREATE TABLE dept( id INT PRIMARY KEY AUTO_INCREMENT, NAME VARCH ...
分类:
数据库 时间:
2021-01-12 10:49:54
阅读次数:
0
0.场景说明 centos7 mysql5.7 InnoDB引擎 0.1创建表 DROP TABLE IF EXISTS tbl_article_content; CREATE TABLE tbl_article_content ( id bigint(40) NOT NULL AUTO_INCRE ...
分类:
数据库 时间:
2021-01-11 11:20:40
阅读次数:
0
判断数据库字段不为空的语句: 判断 数据库字段 :不为空、 不为null 、不为" " ——使用语句: trim(columnA ) != '' select * from table where module='XX' and trim(columnA ) != '' (columnA is no ...
分类:
数据库 时间:
2021-01-11 11:16:56
阅读次数:
0
实战2:使用selenium爬取淘宝数据,保存在mongodb 配置文件 MONGO_URL = 'localhost' MONGO_DB = 'taobao' MONGO_TABLE = 'yintiao' 爬虫文件 from selenium import webdriver from sele ...
分类:
数据库 时间:
2021-01-11 10:47:01
阅读次数:
0
1.检查配置文件 my.cnf 如果存在修改为如下值,没有则添加 innodb_large_prefix = 1 innodb_file_per_table = 1 innodb_file_format = Barracuda 2.修改建表语句,添加 row_format=dynamic drop ...
分类:
数据库 时间:
2021-01-11 10:41:29
阅读次数:
0