首先手动启动Mysql应用程序 打开终端输入如下命令: /usr/local/mysql/bin/mysql -u root -p (注意:Windows下的是: mysql -u root -p) 其中root为用户名。这时会出现如下命令:Enter password: 123456 这样就可以访 ...
分类:
数据库 时间:
2020-02-23 13:09:59
阅读次数:
110
from django.db import models '''contenttype使用意义:如果使用contenttypes就不需要再使用多个Foreignkey, 因为在django_content_type表已经存储了app名和model名, 所以我们只需要将我们创建的模型与django_c ...
分类:
数据库 时间:
2020-02-23 13:08:20
阅读次数:
112
User: /** * Copyright (c) 2020, All Rights Reserved. * */ package com.demo.server.mybatis; import java.io.Serializable; /** * 此处应有类说明<br/> * * @author ...
分类:
数据库 时间:
2020-02-23 11:57:01
阅读次数:
161
一.什么是MongoDB? MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need (MongoDB是 ...
分类:
数据库 时间:
2020-02-23 11:43:54
阅读次数:
107
https://builtin.com/blockchain/blockchain-as-a-service-companies rising star in the business world, Blockchain-as-a-Service (BaaS) — when a third-part ...
分类:
数据库 时间:
2020-02-23 11:39:57
阅读次数:
174
mssql是.NET的标配,一般使用.NET的人基本都用mssql。 以前mssql只能支持windows平台,从微软打出 拥抱开源 的口号开始,mssql的2017 版本,开始支持linux系统。 一开始,我是直接在centos中安装mssql的,总的来说,比windows快很多。但是现在都使用容 ...
分类:
数据库 时间:
2020-02-23 11:37:13
阅读次数:
105
MySQL是常用的关系型数据库,本文介绍了Go语言如何操作MySQL数据库。 Go操作MySQL 连接 Go语言中的database/sql包提供了保证SQL或类SQL数据库的泛用接口,并不提供具体的数据库驱动。使用database/sql包时必须注入(至少)一个数据库驱动。 我们常用的数据库基本上 ...
分类:
数据库 时间:
2020-02-23 11:32:45
阅读次数:
97
using System; using System.Data; using System.Data.SqlClient; using System.Configuration; using System.Text; using System.Collections.Generic; using M ...
分类:
数据库 时间:
2020-02-23 11:31:24
阅读次数:
76
1.搭建开发环境 使用nodemon监听文件变化,自动重启node 使用cros-env设置环境变量,兼容mac linux 和windowns ...
分类:
数据库 时间:
2020-02-23 11:31:05
阅读次数:
93
一、对数据行的增删改查 增:insert into tableName () values(),() 可以一次插入多条或者一条,前面可以指定插入的字段,不指定的话默认为建表时的顺序 删:delete from tableName where.... 改:update tableName set 字段 ...
分类:
数据库 时间:
2020-02-23 11:24:51
阅读次数:
77
如果大家对我的 "【大白话系列】MySQL 学习总结系列" 感兴趣的话,可以点击关注一波。 一、上节回顾 在上节 "《 缓冲池(Buffer Pool) 的设计原理和管理机制》" 中,介绍了缓冲池整体的设计原理。包括几个比较重要的概念:free 链表、flush 链表和 lru 链表。正式因为这一套 ...
分类:
数据库 时间:
2020-02-23 11:15:53
阅读次数:
84
简介 今天参加i春秋新春抗疫赛 一道web没整出来 啊啊啊 好垃圾啊啊啊啊啊啊啊 晚上看群里赵师傅的buuoj平台太屌了分分钟上线 然后赵师傅还分享了思路用handler语句绕过select过滤。。。。 原题复现: 考察知识点:SQL注入漏洞-堆叠注入、注入绕过 线上平台:https://buuoj ...
分类:
数据库 时间:
2020-02-23 10:02:18
阅读次数:
136
PL/SQL Developer使用技巧、快捷键 1、类SQL PLUS窗口:File->New->Command Window,这个类似于oracle的客户端工具sql plus,但比它好用多了。 2、设置关键字自动大写:Tools->Preferences->Editor,将Keyword ca ...
分类:
数据库 时间:
2020-02-23 09:58:00
阅读次数:
159
1、工具--》首选项 2、编辑器--》编辑 3、定义快捷键 -- 》 保存 4、快捷键+回车就可以出现 ...
分类:
数据库 时间:
2020-02-23 09:55:14
阅读次数:
126
MySQL出现 You do not have the SUPER privilege and binary logging is enabled报错 解决方案: 1、用root用户登录:mysql -u root -p 2、设置参数log_bin_trust_function_creators为1 ...
分类:
数据库 时间:
2020-02-23 09:13:52
阅读次数:
236
mysql5.7的xtrabackup自动备份脚本
分类:
数据库 时间:
2020-02-23 00:09:33
阅读次数:
106
一、MHA简介; 二、部署MHA 三、MHA Manager 端日常主要操作步骤;
分类:
数据库 时间:
2020-02-23 00:05:19
阅读次数:
119