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

JDBC for transaction management

JDBC for transaction management There are four characteristics of a transaction:Atomicity: refers to that the operations contained in a transaction are regarded as a logical unitConsistency: the database is in a consistent state before and after the startIsolation: multiple transactions modified to the database are isolated from each otherThe i ...

Posted by Mark Baker on Wed, 18 Mar 2020 08:30:03 -0700

CAS single sign on -- custom authentication login strategy

In the previous section, we used a variety of authentication methods of CAS to complete the login authentication in a variety of ways, that is, we mainly used a variety of authentication schemes encapsulated by CAS for us, which can basically meet our multiple needs of authentication. If you still don't know a lot about the multiple authenticat ...

Posted by BlueMeteor on Wed, 18 Mar 2020 06:15:25 -0700

Installation of Docker Technology Series Multi-Version Mysql 5.6 and Mysql 5.7

Hello, what follows is not exclusive content about MAC, basically related to Java environment and basic technology.So this tutorial is common to both linux systems and macOS, so don't worry. In the previous post, we found Docker convenient after installing it.Now let's install Mysql, which is often used in development. MySQL is the most popula ...

Posted by redhair on Tue, 17 Mar 2020 18:51:18 -0700

Docker compose deploy jumpserver fortress machine

1, Environment deployment 1. Build docker environment yum -y install docker 2. Install docker compose curl -L https://github.com/docker/compose/releases/download/1.23.2/docker-compose-`uname -s`-`uname -m` -o /usr/bin/docker-compose chmod +x /usr/bin/docker-compose 3. Create project directory mkdir -p /data/jms cd /data/jms 4. Download the doc ...

Posted by efron on Tue, 17 Mar 2020 11:02:24 -0700

Solr implements the LIKE query function similar to MySQL

Recently, we have encountered the need for keyword query on large text. The effect to be achieved is that when a user enters a word or a word, all the contents containing the word or a word should be searched. It's the same as MySQL's LIKE query. In this scenario, the first thing I think about is to directly use MySQL storage, and then query, w ...

Posted by idnoble on Tue, 17 Mar 2020 08:19:00 -0700

Latest puppeter crawler boss direct recruitment company and position information

The missing are back! Since I have been crawling, I have encountered many pits, so I will give a general report first 1. Access to all enterprises in the country 2. Supplement enterprise information through enterprise inspection 3. Direct employment of reptile boss to obtain company and position i ...

Posted by huzefahusain on Tue, 17 Mar 2020 03:15:31 -0700

Read MySQL 5.7 document 11.2 Date and Time Data Types summary

Author: Wei Xinping, the 5th MySQL practical class student of zhishutang, the 10th MySQL optimization class student, now works as a teaching assistant. Read MySQL 5.7 document 11.2 Date and Time Data Types MySQL can be divided into five types: date, datetime, timestamp, time, and year. Next, I'd like to introduce you one by one. DATE type Store ...

Posted by ludachris on Mon, 16 Mar 2020 21:00:55 -0700

Mysql database 2: a simple DQL statement

1. Simple query statement (DQL) Syntax format: select field name 1, field name 2, field name 3 from table name; mysql> select ename,empno from emp; +--------+-------+ | ename | empno | +--------+-------+ | SMITH | 7369 | | ALLEN | 7499 | | WARD | 7521 | | JONES | 7566 | | MARTIN ...

Posted by MortimerJazz on Mon, 16 Mar 2020 08:28:17 -0700

Declarative transaction control based on XML and annotation

Article directory 1. Declarative transaction control based on XML 1.1 environment construction 1.2 transaction control configuration steps 2. Declarative transaction control based on annotation 3. Support for purely annotated transactions This paper uses the demo of account transfer to demonstr ...

Posted by mdaoust on Mon, 16 Mar 2020 04:43:06 -0700