![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
mysql集群和sql
SPJLinux
积跬步,行千里,踏实地,望星空!
展开
-
yum安装mysql5.7
首先吧,你可以到http://dev.mysql.com/downloads/repo/yum/ 这个网址去下载rpm包更新一下,但我是选择了用wget去 操作,如果没有安装wget的话,就先请安装yum -y install wget然后下载mysql源安装包 wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm安装mysql源 yum localinstall mysql57-community-转载 2020-09-14 16:58:29 · 148 阅读 · 0 评论 -
mysql常用语句
创建数据库指定字符集:create database shan character set utf8;create database factory_psbc character set utf8mb4 collate utf8mb4_unicode_ci;创建表: create table spj( id int(10) primary key not null unique auto_increment, name varchar(50), gangwei原创 2020-09-14 16:52:04 · 149 阅读 · 0 评论