Don't think that Stream readability is not high anymore!

Seven or eight years have passed since Java 8 was released, and Java 14 has just been released. The functional programming and the new Stream stream API in Java 8 are still controversial. If you don't use Stream stream, when you see Stream operation, you must have made a scornful sound to it and said in your heart, "what's this all about?& ...

Posted on Sun, 22 Mar 2020 09:22:13 -0700 by mikesch

MySQL Data Backup and Restore

Accidents involving database deletion are now common, and the need for data backup is an extremely important task in enterprise data management.There are also many scenarios and methods for data backup and recovery, and several of the main tools in this series will be demonstrated through cases. This series will start with logical backup and re ...

Posted on Sat, 21 Mar 2020 19:44:50 -0700 by cobalt30

Install mysql8 on win10 and configure master-slave replication

Recently, I am studying spring boot, and I want to organize a blog about spring boot integrating mybatis and configuring the master-slave database. However, mysql master-slave database is not configured on the computer win10 system. So it took a few days to get it right. Record it here. The first step is to install two mysql8 on win10. I found ...

Posted on Sat, 21 Mar 2020 05:44:02 -0700 by elbowgrease

Continuously Integrated Code Quality Management--Sonar

Sonar is an open platform for code quality management. Through plug-in mechanisms, Sonar can integrate different testing tools, code analysis tools, and continuous integration tools.Unlike continuous integration tools such as Hudson/Jenkins, Sonar does not simply display the results of different code checks (such as FindBugs, PMD, and so on) d ...

Posted on Fri, 20 Mar 2020 18:26:19 -0700 by Batosi

mysql/mariadb learning record -- JOIN

//Data tables used in this article//ID ﹣ P is the primary key in the persons table//In the orders table, ID ﹣ o is the primary key, and ID ﹣ P is the foreign key. Refer to ID ﹣ P in the persons table mysql> select * from persons;select * from orders; +------+----------+-----------+----------------+----------+ | id_p | lastname | firstna ...

Posted on Fri, 20 Mar 2020 08:38:13 -0700 by vickytam

[Detailed to Crying Series] keepalived configuration to switch zabbix backup

Deployment phase and problem notes: https://www.cnblogs.com/l-hh/category/1400262.html Both machines have keepalived installed [root@zabbix-master ~]# yum install keepalived.x86_64 -y keepalived configuration Zabbix-master profile: ! Configuration File for keepalived global_defs { router_id zabbix-master #router_id Machine Identification ...

Posted on Thu, 19 Mar 2020 21:57:01 -0700 by phpdoodler

Navicat connection MySQL 8.0 pro test

Today, the next MySQL 8.0 found that Navicat could not connect, and always reported 1251 errors; After trying many ways, we finally found a way to achieve it: By changing the encryption method:   1. First enter the root account of mysql through the command line:   PS C:\Windows\system32> mysql -uroot -p Enter password: ****** Enter the pas ...

Posted on Thu, 19 Mar 2020 10:50:04 -0700 by sid666

Niu Ke net SQL brush notes 1

1. Query data Basic knowledge Single table query Single table query data (used when the data field queried can be obtained from a single table) The specific mysql statements are summarized as follows SELECT (DISTINCT)field1,field2,... FROM Table name WHERE condition GROUP BY field HAVING O ...

Posted on Mon, 16 Mar 2020 00:55:43 -0700 by Joopy

Container deployment and operation of ProxySQL based on Docker Hub image

ProxySQL container deployment and operation based on Docker Hub image: 1 pull image The method to pull the ProxySQL database middleware image from Docker Hub is as follows. # Pull the latest image [root]# docker pull proxysql/proxysql # Pull the image of the specified version [root]# docker pull pro ...

Posted on Sun, 15 Mar 2020 23:43:32 -0700 by Adeus

SpringBoot Integrates SpringSecurity Sample Implementation Separate Permission Annotation + JWT Logon Authentication

SpringSecurity is a security framework for Java enterprise applications, which mainly includes user authentication and user authorization. Compared to Shiro, Security is more powerful, it can easily expand to meet more security control requirements, but it also has a higher learning cost.Both frameworks ...

Posted on Sun, 15 Mar 2020 19:19:12 -0700 by BarmyArmy