![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
文章平均质量分 72
一盏红烛,一杯烧酒
慢慢摸索,逐步变强。
展开
-
unknown variable ‘authentication_policy=mysql_native_password‘
unknown variable 'authentication_policy=mysql_native_password'mac下装多个版本mysql多版本mysql安装原创 2023-12-27 23:04:23 · 1939 阅读 · 0 评论 -
数据库问题汇总
left join on and vs where原创 2022-06-28 09:24:01 · 238 阅读 · 0 评论 -
sql- inner join、left join、right join
前置条件创建数据库,创建测试表,插入测试数据create database test;use testcreate table testJoin_one(id int(5),t_desc varchar(200));insert into testJoin_one(id,t_desc) values(1,'孙悟空'),(3,'沙悟净'),(5,'猪八戒');create table testJoin_two(id int(5),t_desc varchar(200));inse原创 2020-12-07 18:23:54 · 57 阅读 · 0 评论 -
shardingsphere 报错 Missing the data source name: ‘null‘
问题描述使用shardingsphere 尝试进行分库时,报错 Missing the data source name: ‘null’详细错误内容org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error updating database. Cause: java.lang.IllegalStateExce原创 2020-11-25 15:24:33 · 8734 阅读 · 2 评论 -
mysql 1067出错 以及 启动多个数据库
mysql数据库启动报错// 查看 data文件夹下的 DESKTOP-RR3GOJS.err 错误如下201123 10:01:56 [Note] Plugin 'FEDERATED' is disabled.201123 10:01:56 InnoDB: The InnoDB memory heap is disabled201123 10:01:56 InnoDB: Mutexes and rw_locks use Windows interlocked functions201123原创 2020-11-23 11:40:39 · 120 阅读 · 1 评论 -
mysql 索引
自己在mysql 上体验一下索引登录mysql -u root -p 123;// root 为账号,123是密码。这是我的,你们自己输自己的。创建一个数据库,用于测试create database test_index;// 创建了一个名为 test_index的数据库;然后创建一张表create table book(id mediumint primary key not null,price tinyint,author varchar(1),publisher va原创 2020-07-29 22:48:03 · 103 阅读 · 0 评论 -
数据库 存储过程 触发器 事务
记录一下基础语法,以便以后回顾。那么开始吧。首先创建数据库create database review_db然后建几张表// sex 0表示女的,1表示男的create table student( name varchar(20), sex int, classId int)create table class( id nvarchar primary key not null, amount int, headmaster nvarchar(20))插入原创 2020-07-28 16:42:35 · 172 阅读 · 0 评论