数据库 remote gdb
[emailprotected] :/usr/download/test/mygcc$ cat testthread.cc - n 1 // thread example 2 #include iostream // std::cout 3 #include thread // std::thread 4 5 void foo() 6 { 7 // do stuff... 8 } 9 10 void bar( int x) 11 { 12 // do stuff... 13……
数据库 docker安装并运行mysql
docker拉取mysql镜像: [ [emailprotected] _0_7_centos ~]$ sudo docker pull mysql: 5.7 5.7 : Pulling from library/ mysql80369df48736: Pull complete e8f52315cb10: Pull complete cf2189b391fc: Pull complete cc98f645c682: Pull complete 27a27……
数据库 MySQL存储索引InnoDB数据结构为什么使用B 树,而不是其他树呢?
InnoDB的一棵B 树可以存放多少行数据? 答案:约2千万 为什么是这么多? 因为这是可以算出来的,要搞清楚这个问题,先从InnoDB索引数据结构、数据组织方式说起。 计算机在存储数据的……
数据库 支持三种数据库增删改查的小工具
侧边栏右键: 新增/修改: 下载地址: https://files-cdn.cnblogs.com/files/Zingu/Release.rar……
数据库 ps -aux|grep mysql时候报错:Warning: bad syntax, perhaps a bogus
ps -aux|grep mysql 时候报错:Warning: bad syntax, perhaps a bogus ‘-‘? See /usr/share/doc/procps-3.2.8/FAQ 解决办法,去掉-aux前面的“-”就好了。 ps aux |grep mysql aux各选项的意思是: a-显示所有用户的进……
数据库 利用mysql数据库日志文件获得webshell
查看配置 show variables like ‘%general%‘; 开启日志功能 set GLOBAL general_log=‘ON‘; 设置日志存储路径 SET GLOBAL general_log_file=‘C:/phpStudy/www/xxx.php‘ ; 执行sql语句,写入日志文件 成功写入……
数据库 Oracle substr 字符截取函数
1、substr函数格式 (俗称:字符截取函数) 格式1: substr(string string, int a, int b); 格式2:substr(string string, int a) ; 解释: 格式1: 1、string 需要截取的字符串 2、a 截取字符串的开始位置(注:……
数据库 brew安装mongodb报错Error: No available formula with the name &am
原因:MongoDB不再是开源的了,并且已经从Homebrew中移除 #43770 设定 $ brewtap mongodb/brew 安装 $ brew install [emailprotected] 2……
数据库 airflow使用mysql数据库,LocalExecutor并发调度(1)
mysql-airflow 在mysql上执行 create database airflow; —— 创建数据库 GRANT all privileges on airflow.* TO ‘airflow‘@‘%‘ IDENTIFIED BY ‘123456‘; —— 将数据库airflow的所有权限授权airflow用户,密码1234……
数据库 基于durid的JDBCUtils工具类
1、JDBCUtils类 package com.alphajuns.utils; import com.alibaba.druid.pool.DruidDataSourceFactory; import javax.sql.DataSource; import java.io.IOException; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException……