Notes on MySQL multi table connection

Introduction: in the project, I met the need to merge MySQL database tables. In the process of merging, I should skip the existing records, because the primary key was not set in the initial stage of table design. Finally, I realized the requirements through MySQL's not exists statement. By the way, I explored the multi table connection in MySQ ...

Posted by pipe_girl on Fri, 17 Sep 2021 06:32:06 -0700

A deadlocked case

Problem Description Today's online consumer has a deadlock caused by insert. Here we use a DEMO to repeat the whole process of case and make a detailed analysis. The table structure is as follows: mysql> show create table test_table; | Table | Create Table ...

Posted by kolanos7 on Thu, 16 Sep 2021 18:48:35 -0700

Learning log day50 (September 16, 2021) (1. Spring JDBC 2. Mysql transaction 3. Mysql trigger)

Learning content: learn the Spring framework (Day50) 1,Spring JDBC 2. Mysql transaction 3. Mysql trigger 1,Spring JDBC (1) The required jar package is used for database connection using Hikaricp connection pool mysql-connector-java.jar HikariCP.jar spring-jdbc.jar (2) Configure the data source file db.properties, and set the time zone for ...

Posted by holladb on Thu, 16 Sep 2021 18:32:01 -0700

Sqli labs customs clearance (less41~less50)

catalogue Less41 Less42 Less43 Less44 Less45 Less46 Less47 Less48 Less49 Less50 Less41 This level is similar to Less40. First find the closure through Boolean blind injection, and then stack and inject recklessly. Find closure: http://192.168.101.16/sqli-labs-master/Less-41/?id=1   There are query results http://192.168.10 ...

Posted by jaikar on Thu, 16 Sep 2021 13:44:57 -0700

MYSQL learning notes - basic use of database

1, mysql database common operations Account login -h specifies the host address of the server, - p specifies the port number, - u specifies the current shell user, - p is the password, which can not be entered on the command line Create database The database is a collection of tables. The database server can contain multiple databases. ...

Posted by AjithTV on Tue, 14 Sep 2021 15:23:04 -0700

Mysql (relational database)

Nature of database: A data storage method that can permanently save and query fast data storage. Three connection methods of database server: Open through management service Open through the graphical user interface (navicat). Open through the upper triangle of the taskbar.   Diagram: Database:  table: Each row is called a ...

Posted by marukochan on Sun, 12 Sep 2021 00:20:46 -0700

Introduction to MySQL HeatWave Quickstart AutoPilot

This article is MySQL HeatWave Quickstart (quick start) A sequel to. I watched it today MySQL HeatWave user manual , it has changed from more than 60 pages to 96 pages, and Autopilot, object storage persistence layer and other contents have been added. Basic concepts: HeatWave is memory array, distributed and sharedHeatWave Cluster includes ...

Posted by pleisar on Fri, 10 Sep 2021 19:39:44 -0700

[Hard Hive] MYSQL/HIVESQL Pen Test: HIVESQL

Welcome to the blog home page: WeChat Search: import_bigdata, original hard core creator of big data domain _import_bigdata_CSDN blog Welcome to comment, collection, message, message exchange!This article was originally created by Wang Zhiwu and first published in the CSDN blog!The first CSDN forum of this article is forbidden to be reproduced ...

Posted by monkeymade on Fri, 10 Sep 2021 10:09:26 -0700

In the actual battle of MySQL, the experience of using Insert statement is summarized, and Java development starts from scratch

======================================================================= []( )2-1. Three treatment methods []( )2-1-1. Single loop insertion We take 10w pieces of data for some tests. If the insertion method is program traversal loop, insert one by one. It is detected that the speed of inserting a message on mysql is between 0.01s and 0.0 ...

Posted by tmswenson on Thu, 09 Sep 2021 14:47:19 -0700

Join query for mysql

1. Meaning When fields of multiple tables are involved in a query, a join of multiple tables is required Selectect field 1, field 2 from Table 1, Table 2,...; Cartesian product: When querying multiple tables, no valid join condition is added, resulting in full join for all rows of multiple tables (Table 1 has m rows, Table 2 has n rows, resul ...

Posted by rallan on Wed, 08 Sep 2021 10:04:24 -0700