(1)先登录 mysql -h localhost -u root -p (2)查看数据库有哪些 show databases; (3)新建一个空表text create database text ; ####新建数据库text ,等下导表用### (4)删除数据库chuan drop datab ...
分类:
数据库 时间:
2021-07-26 16:51:34
阅读次数:
0
一、DDL数据定义 1、创建数据库 1)创建一个数据库,数据库在 HDFS 上的默认存储路径是/user/hive/warehouse/*.db。 hive (default)> create database db_hive; 2)避免要创建的数据库已经存在错误,增加 if not exists ...
分类:
其他好文 时间:
2021-07-26 16:38:58
阅读次数:
0
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in ...
分类:
其他好文 时间:
2021-07-23 17:39:58
阅读次数:
0
遍历的话若全部遍历则为N,若遍历k次,则为k class Solution: """ @param str: str: the given string @return: char: the first unique character in a given string """ def first ...
分类:
其他好文 时间:
2021-07-21 17:39:49
阅读次数:
0
对于ospf的包来讲,其ospf包头结构不会发生变化,头部主要信息有版本信息,默认ipv4是使用ospf v2版本;类型是用来表示ospf包类型,ospf包的类型有五中类型;分别是hello包,dd包(database description),LSR(Link-State Request ),L... ...
分类:
其他好文 时间:
2021-07-19 16:47:31
阅读次数:
0
完整备份 命令:innobackupex --defaults-file=/etc/my.cnf --user=root --password=PASSWORD --database=DATE BACK_DIR_PATH PASSWORD 数据库密码 DATE 数据库名 --database=DAT ...
分类:
其他好文 时间:
2021-07-05 17:46:48
阅读次数:
0
An n-bit gray code sequence is a sequence of 2n integers where: Every integer is in the inclusive range [0, 2n - 1], The first integer is 0, An intege ...
分类:
其他好文 时间:
2021-07-05 17:13:05
阅读次数:
0
首先说一下(DbFirst)数据库先行, 1.建好项目后通过 NuGet 安装所需依赖性: (1)Microsoft.EntityFrameworkCore (2)Microsoft.EntityFrameworkCore.Design (3)Microsoft.EntityFrameworkCor ...
分类:
其他好文 时间:
2021-07-05 16:55:20
阅读次数:
0
1.进入MySql数据库 mysql -uroot -p 2.查看数据库show databases; 3.创建数据库(GoTest)CREATE DATABASE GoTest 4.创建数据表()USE GO_TEST;CREATE TABLE `User`( `Id` BIGINT(20) NO ...
分类:
数据库 时间:
2021-07-01 17:27:15
阅读次数:
0
1.安装python sudo yum install -y curl policycoreutils-pythonopenssh-server 2.将SSH服务设置成开机自启动,分别执行以下命令: sudo systemctl enable sshd sudo systemctl start ss ...
分类:
系统相关 时间:
2021-07-01 17:07:32
阅读次数:
0