C ා operate mysql database
This paper introduces the operation of adding, deleting, modifying and querying mysql database.
1. Install the database, pay attention to the installation of Connector NET.
2. Introduce MySql.Data.dll and add project reference. The general location of the file is: C:\Program Files (x86)\MySQL\Connector NET xx\Assemblies\v xx (determined by MySQ ...
Posted by Reviresco on Fri, 20 Mar 2020 12:15:56 -0700
Elasticsearch add, delete, modify and query (2)
ES Restful API GET, POST, PUT, DELETE, HEAD meaning:
1) GET: gets the current state of the request object.
2) POST: changes the current state of the object.
3) PUT: create an object.
4) DELETE: destroy the object.
5) HEAD: request to get the basic information of the object.
The new document in ES (under Index/type) i ...
Posted by Hell Toupee on Fri, 20 Mar 2020 09:05:37 -0700
CentOS 7 installation of MongoDB standalone
download
Choose the appropriate installation package for your system version. This article installs CentOS 7
MongoDB's official website is https://www.mongodb.com/ , you can download the MongoDB program on the official website. The reason why it's a program is that the relevant programs of MongoDB in the downloaded installa ...
Posted by CousinCocaine on Fri, 20 Mar 2020 08:58:30 -0700
Redis database introduction and manual compilation and installation process
Preface
This paper introduces Redis database from the origin of NoSQL, then demonstrates the process of Redis manual compilation and installation (the system version of the experimental environment is Centos7), and finally introduces the common command tools of Redis.
What is NoSQL?
NoSQL -- non relational SQL, non relational database. The st ...
Posted by ramzess on Fri, 20 Mar 2020 04:20:20 -0700
Download Zabbix Graph chart through PowerShell
Generally, the chart of Zabbix Graph page is mostly used to write reports, forming a more intuitive report.However, if there are a large number of charts to view, it will lead to screenshots for each item of each host, which is inefficient. This time, I specially wrote a script to complete this work.
In order to understand, I set up a zabbix t ...
Posted by Karlos2394 on Fri, 20 Mar 2020 02:24:48 -0700
Practical guide to anti deletion library
Some very good enterprise level functions of the database are "military for a thousand days, military for a while". For example, the Recycle Bin function in Oracle 10g can play the role of special soldiers in special circumstances. For example, when you delete a table space or a user schema, you may delete many tables, including some ...
Posted by ksteuber on Fri, 20 Mar 2020 01:24:48 -0700
Design Mode - Creative Mode Details
In software engineering, Creative mode is a design mode that deals with object creation, trying to create objects in an appropriate way according to the actual situation.Basic object creation can lead to design problems or increase design complexity.Creative mode solves problems by controlling the creation of objects in some way.
Common creati ...
Posted by harnacks on Thu, 19 Mar 2020 23:59:05 -0700
MySQL slow query - enable slow query
I. Introduction
Opening the slow query log enables MySQL to record the statements that are queried for more than the specified time. Only by locating and analyzing the bottleneck of performance, can we better optimize the performance of the database system.
2, Parameter description
Slow query log slow query on status
Slow q ...
Posted by aesthetics1 on Thu, 19 Mar 2020 11:14:18 -0700
Using mysql module of python
PyMySQL installation
Before using PyMySQL, we need to make sure PyMySQL is installed.
PyMySQL download address: https://github.com/PyMySQL/PyMySQL.
If it is not already installed, we can use the following command to install the latest version of PyMySQL: $ pip install PyMySQL
If your system does not support the pip command ...
Posted by ganlal on Thu, 19 Mar 2020 09:10:11 -0700
MySQL -- basic database operation (2)
– preparation before database operation
– create database
– create database python_test_1 charset=utf8;
– using databases
– use python_test_1;
– students table
– create table students(
– id int unsigned primary key auto_increment not null,
– name varchar(20) default ",
– age tinyint ...
Posted by ksteuber on Wed, 18 Mar 2020 09:11:11 -0700