数据库技术
1.下载安装包 进入/usr/local/目录下 wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel62-3.4.3.tgz 2.解压缩 tar zxvf mongodb-linux-x86_64-rhel62-3.4.3. ...
抄录自:https://www.cnblogs.com/flagsky/p/9762726.html 一、导出 1.1 导出表结构及数据 mysqldump -uroot -p --set-gtid-purged=OFF database table1 table2 > mysqldump.sql ...
环境:Redhat Linux 7.6 + Oracle 11.2.0.4 RAC 现象:图像化安装数据库软件过程中的86%时,报错。 1. 具体现象 2. 定位问题 3. 解决问题 1. 具体现象 2. 定位问题 下列官方文档中有提到该问题的原因或者解决办法: Installation walk- ...
某一天发现mysql登录失败了,登录的时候报下面的错误 在MySQL登录时出现Access denied for user 'root'@'localhost' (using password: YES) 拒绝访问. 一般出现这样的错误都是因为密码错了。如果原来的密码不记得了,这时候只能重新设置下密 ...
星云留水 CentOS7安装MySQL报错,解决Failed to start mysqld.service: Unit not found 当输入命令 ~]# systemctl start mysql.service 要启动MySQL数据库是却是这样的提示 Failed to start mys ...
虚拟机下安装mysql 虚拟机下CentOS6.8下安装MYSQL5.6 方法: 整理修改于 http://www.cnblogs.com/liuyi2614/p/6382183.html 开始时: 普通用户是$ root用户是# 切换到root 啊? su root 转到某个目录 到usr目录 c ...
1.下载对于oracle数据库对于版本的instantclient_11_2 oracle11g下载地址:https://www.oracle.com/technetwork/topics/winx64soft-089540.html 2.将文件解压出来D:\Documents\plsqldoc\i ...
最近项目中使用MongoDB进行存入统计相关的数据,便于查寻且提高效率。 首先在项目中引入MongoDB: 1.加入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter- ...
一、什么是回表查询? 这先要从InnoDB的索引实现说起,InnoDB有两大类索引: 聚集索引(clustered index) 普通索引(secondary index) InnoDB聚集索引和普通索引有什么差异? InnoDB聚集索引的叶子节点存储行记录,因此, InnoDB必须要有,且只有一个 ...
select d.*,c.排名,c.s_score,c.c_id from ( select a.s_id,a.s_score,a.c_id,@i:=@i+1 as 排名 from score a,(select @i:=0)s where a.c_id='01' ORDER BY a.s_scor ...