Blog

一日看尽长安花


  • 首页

  • 标签

  • 分类

  • 归档

Mysql 主键约束、唯一约束、联合唯一约束、非空约束、外键约束

发表于 2019-08-10 更新于 2019-11-11 分类于 Mysql

Mysql 主键约束、唯一约束、联合唯一约束、非空约束、外键约束

主键约束 PRIMARY KEY

PRIMARY KEY 主键是唯一的,一张表只能有一个主键

主键可以由多个字段组合而成(字段越少越好),多个字段时复合主键形成唯一索引

主键不允许为空

阅读全文 »

Msql 5.7 安装

发表于 2019-08-07 更新于 2019-11-11 分类于 Mysql

Msql 5.7 安装

添加 Mysql 5.7 仓库

1
rpm -ivh https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm

确认Mysql仓库添加成功

1
yum repolist all | grep mysql | grep enabled
阅读全文 »

Prometheus+AlertManager Install HandBook

发表于 2019-08-02 分类于 Prometheus

Prometheus 安装


官网 https://prometheus.io/download/*

Github https://github.com/prometheus/prometheus/releases

1
2
3
4
5
6
7
8
9
cd /tmp

wget https://github.com/prometheus/prometheus/releases/download/v2.10.0/prometheus-2.10.0.linux-amd64.tar.gz

tar zxvf prometheus-2.10.0.linux-amd64.tar.gz

cp -R prometheus-2.10.0.linux-amd64 /usr/local/prometheus

cd /usr/local/prometheus
阅读全文 »

Hexo Command

发表于 2019-07-31 更新于 2019-08-02 分类于 Hexo

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 troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

阅读全文 »
12

Amin

技术、摄影
14 日志
8 分类
11 标签
© 2019 Amin
由 Hexo 强力驱动 v3.9.0
|
主题 – NexT.Pisces v7.3.0