1:数据库命令: 显示所有表/数据库:SHOW TABLES /DATABASES; 登录进入数据库:mysql -u root -p 进入数据库 查看所有数据库:show databases; 创建数据库:create database 数据库名; 删除数据库:drop database 数据库名 ...
分类:
数据库 时间:
2021-04-24 13:56:30
阅读次数:
0
Loaded plugins: fastestmirror, langpacks Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error w ...
分类:
Web程序 时间:
2021-04-24 13:53:03
阅读次数:
0
mysql mysql是数据库管理系统. 一个数据库管理系统都包含哪些最基本的东西: 1:数据库 2:管理软件 3:使用人员 ...... 什么是数据库。 所谓的数据库就是存储数据的仓库,数据存储在仓库中我们可以使用数据库提供的方式来对数据进行快速的CRUD(增删改查)。 数据库目前主要分为: 1: ...
分类:
数据库 时间:
2021-04-24 13:37:27
阅读次数:
0
https://www.cnblogs.com/cnsdhzzl/p/12586711.html 参考地址 安装有趣的命令sl(跑火车) 1.更新yum源 yum -y update 2.尝试安装sl yum install sl 执行yum命令时会去centos镜像查找sl包,但是镜像中没有sl包 ...
分类:
其他好文 时间:
2021-04-24 13:20:13
阅读次数:
0
1、测试数据 [root@centos7 test3]# cat b.txt e t s e s g m x w d g i d t e g x g e w 2、打印匹配w的行 [root@centos7 test3]# cat b.txt e t s e s g m x w d g i d t e ...
分类:
系统相关 时间:
2021-04-24 13:18:10
阅读次数:
0
给定一个二叉树, 找到该树中两个指定节点的最近公共祖先。 百度百科中最近公共祖先的定义为:“对于有根树 T 的两个节点 p、q,最近公共祖先表示为一个节点 x,满足 x 是 p、q 的祖先且 x 的深度尽可能大(一个节点也可以是它自己的祖先)。” 示例 1: 输入:root = [3,5,1,6,2 ...
分类:
其他好文 时间:
2021-04-24 11:46:55
阅读次数:
0
1、测试1 [root@centos7 test2]# i=0 [root@centos7 test2]# max=5 [root@centos7 test2]# while((i<max));do echo $i;((i++));done 0 1 2 3 4 ...
分类:
系统相关 时间:
2021-04-23 12:03:54
阅读次数:
0
import os, zipfile def deflate(paths, zip_path): z = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED, allowZip64=True, compresslevel=9) for path i ...
分类:
编程语言 时间:
2021-04-23 12:03:14
阅读次数:
0
1、确认系统版本 cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) 2、yum 安装 gcc 相关 yum -y install gcc gcc-c++ 3、卸载旧的版本 yum -y remove docker docker- ...
分类:
其他好文 时间:
2021-04-23 11:54:07
阅读次数:
0
1、测试1 [root@centos7 test2]# ls a.txt [root@centos7 test2]# if [ -e a.txt ]; then echo "exist";else echo "no nxist"; fi exist [root@centos7 test2]# if ...
分类:
系统相关 时间:
2021-04-23 11:53:02
阅读次数:
0