码迷,mamicode.com
首页 >  
搜索关键字:engine    ( 4373个结果
tornado硬件监控系统-连接数据库与数据迁移(2)
#-*- coding: utf-8 -*- from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.dialects.mysql import BIGINT,DECIMAL,DATE,TIME,DATETIME ...
分类:数据库   时间:2020-06-14 00:59:24    阅读次数:72
Ubuntu20.04 LTS国内源安装指定版本Docker/docker-compose
1.卸载旧版本Docker #卸载旧版本docker sudo apt-get remove docker docker-engine docker-ce docker.io #清空旧版docker占用的内存 sudo apt-get remove --auto-remove docker #更新系 ...
分类:系统相关   时间:2020-06-13 23:09:48    阅读次数:192
Django-ORM
# 在Django中默认使用自带的sqlite数据库 # 如果想使用MySQL,在settings.py文件中添加下面语句,把之前的sqlite配置注掉 DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': ...
分类:其他好文   时间:2020-06-13 21:01:14    阅读次数:52
Caused by: java.sql.SQLSyntaxErrorException: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'c.id'
Caused by: java.sql.SQLSyntaxErrorException: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'c.id' which is ... ...
分类:数据库   时间:2020-06-13 16:01:22    阅读次数:325
MySQL关于日期为零值的处理
前言:前面文章我们介绍过日期和时间字段的查询方法,最近遇到日期值为零的问题。原来了解过和sql_mode参数设置有关,但还不是特别清楚,本篇文章将探究下MySQL怎么处理日期值为零的问题。1.问题描述这里我们说的日期为零值是指年、月、日为零,即‘0000-00-00‘。显然,这是不合法的日期值,但由于设计问题或历史遗留问题,有时候数据库中有类似日期值为零的数据,默认情况下插入零值日
分类:数据库   时间:2020-06-13 00:14:25    阅读次数:68
Docker安装
使用下载源安装,执行命令: yum install https://get.docker.com/rpm/1.7.1/centos-6/RPMS/x86_64/docker-engine-1.7.1-1.el6.x86_64.rpm 大功告成! ...
分类:其他好文   时间:2020-06-12 14:47:56    阅读次数:71
11 预置的ChannelHandler和编解码器
本章主要内容 ? 通过SSL/TLS 保护Netty 应用程序 ? 构建基于Netty 的HTTP/HTTPS 应用程序 ? 处理空闲的连接和超时 ? 解码基于分隔符的协议和基于长度的协议 ? 写大型数据 Netty 的OpenSSL/SSLEngine 实现 Netty 还提供了使用OpenSSL ...
分类:其他好文   时间:2020-06-10 21:28:08    阅读次数:63
添加unique约束
create table t1( id int, num1 int, num2 int, unique up (num1) /unique up (num1,num2) )engine=innodb default charset=utf8; ...
分类:其他好文   时间:2020-06-10 19:32:33    阅读次数:78
创建外键及主键
--创建主键 create table t1( nid int(11) not null auto_increment, pid int(11), num int(11), primary key(nid,pid) ) engine=innodb default charset=utf8; --创建 ...
分类:其他好文   时间:2020-06-10 19:26:24    阅读次数:61
MySQL 强行kill后启动失败问题:[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
0、背景 版本信息:MySQL:5.5.47OS:debian7 更新MySQL配置需要重启,restart 显示failed,于是kill -9,然后启动报错:[ERROR] Plugin 'InnoDB' init function returned error.[ERROR] Plugin ' ...
分类:数据库   时间:2020-06-10 17:18:15    阅读次数:73
4373条   上一页 1 ... 20 21 22 23 24 ... 438 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!