码迷,mamicode.com
首页 >  
搜索关键字:mark db bad    ( 17787个结果
Nodejs操作mysql数据库
创建db.js 1.安装mysql依赖 //打开终端,输入 npm install mysql 2.导入mysql依赖 var mysql = require('mysql'); 3.创建一个mysql的Connection对象,配置数据库连接信息。 var conntion = mysql.cre ...
分类:数据库   时间:2021-03-26 15:15:43    阅读次数:0
pytest之fixture:如何对测试类使用fixture
前言: 前面我们所举的示例都是将前置操作函数名直接传入测试函数和测试方法。那如果我们想对整个测试类使用前置操作怎么办呢?这时候我们可以使用@pytest.mark.usefixtures() 一、对整个类使用@pytest.mark.usefixtures@pytest.mark.usefixtur ...
分类:其他好文   时间:2021-03-18 14:14:11    阅读次数:0
用Python写一个小的购物车
Python简易项目--购物车 项目拆分 # 目录文件结构 - ATM - conf - settings.py - core - src.py - db - db_handler.py - interface - admin_interface.py - bank_interface.py - s ...
分类:编程语言   时间:2021-03-16 14:07:47    阅读次数:0
汇编语言
assume cs:code,ss:stack stack segment db 128 dup (0) stack ends code segment start: mov ax,stack mov ss,ax mov sp,128 call copy_boot ;设置CS:IP为0:7e00h ...
分类:编程语言   时间:2021-03-11 20:35:32    阅读次数:0
django error: django.db.utils.IntegrityError: NOT NULL constraint failed
用了一段时间的 python 的 django 框架,在修改 sqlite 数据库的时候遇到如下错误:django.db.utils.IntegrityError: NOT NULL constraint failed: new__ImageRecognition_answercx.user_id ...
分类:数据库   时间:2021-03-10 13:09:41    阅读次数:0
docker 安装mongoDB 版本是mongo:4.2.8
1.下载安装 docker pull mongo:4.2.8 2.运行一个容器 mkdir -p /storage/data/mongodb/db #创建文件夹 docker run -itd --name mongo --restart=always -p 27017:27017 -e MONGO ...
分类:数据库   时间:2021-03-10 13:07:53    阅读次数:0
1285【毕设课设】基于单片机SHT11温湿度采集报警系统设计
【资源下载】百度网盘下载地址如下:https://docs.qq.com/doc/DTlRSd01BZXNpRUxl #include<reg51.h> #include <intrins.h> #include <math.h> #include <stdio.h> #define LCD_DB ...
分类:其他好文   时间:2021-03-09 13:49:00    阅读次数:0
mysql 1130、1251错误,解决办法
ERROR 1130 : HOST "XXXX" is not allowed to connect to this MySQL server 在 数据库mysql 下 的 db host user 三个表中 把 HOST 添加值 “%” 就 OK了 mysql>use mysql; mysql>u ...
分类:数据库   时间:2021-03-09 13:45:08    阅读次数:0
python-cmdb资产管理项目4-资产入库处理以及资产变更记录处理
一 资产入库处理 1.1 连接数据库 在192.168.100.101安装数据库,并给总控机授权可以操作,并创建一个autoserver的数据库,密码123456 settiing.py 配置数据库连接 DATABASES = { 'default': { 'ENGINE': 'django.db. ...
分类:数据库   时间:2021-03-09 13:41:36    阅读次数:0
MySQL
MySQL 一,为什么要学习数据库 数据库的好处 持久化数据到本地 可以实现结构化查询,方便管理 二,数据库相关的概念 DBMS 数据库管理系统(Database Management System)。数据库是通过DBMS创建和操作的容器。 DB 数据库(database):存储数据的“仓库”。保存 ...
分类:数据库   时间:2021-03-08 13:37:24    阅读次数:0
17787条   上一页 1 ... 13 14 15 16 17 ... 1779 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!