Spring takes notes the next day

Spring Learning Notes 1. Implementation of AOP based on aspect annotations Step 1, Create Bean s for Objects <!-- create object --> <bean id="book" class="com.itcast.aop.Book"></bean> <bean id="myBook" class="com.itcast.aop.MyBook"></bean> Step 2: Open AOP operations ...

Posted by Smruthi on Mon, 17 Feb 2020 17:35:45 -0800

Spring annotation driven learning notes declarative transaction

Environment building 1. Import dependent Data source, database driver, spring JDBC module <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version> ...

Posted by bdbush on Sun, 16 Feb 2020 21:53:56 -0800

MyCat for MySQL Middleware

I. MyCat Basic Concepts 1. What is MyCat A thoroughly open source, large database cluster for enterprise application developmentTransaction enabled, ACID enabled, enhanced database that can replace MySQLAn enterprise database that can be considered a MySQL cluster to replace the expensive Oracle clusterA new type of SQL Server which combines ...

Posted by mike1313 on Sun, 16 Feb 2020 15:40:39 -0800

MySQL highly available KeepAlived + Dual hosts

MySQL highly available KeepAlived dual hosts In the production environment, one MySQL host has a single point of failure, so we need to ensure the high availability of MySQL, that is, two MySQL servers. If one of the MySQL servers hangs up, the other can take over immediately.MySQL's high availability schemes are generally as follows: keepali ...

Posted by Joe Haley on Sat, 15 Feb 2020 21:49:04 -0800

Spring boot 2.0.3 integrated druid data source and monitoring

I. Druid Druid is the best database connection pool in the Java language, and also the open source project of Alibaba. Druid is a database connection pool developed by Alibaba called monitoring. In terms of function, performance and scalability, Druid is superior to other database connection pools, including DBCP, C3P0, BoneCP, ...

Posted by Alffallen on Sat, 15 Feb 2020 11:20:50 -0800

Overview of mysql database and its basic operation 1

1, Introduction of database and related concepts Database: warehouse for storing data; 1.DB(DateBase) data base A collection of data organized according to a data model and placed in storage 2.DBMS(DateBase Management System) Database management system Service software for manipulating and managing da ...

Posted by kkeim on Fri, 14 Feb 2020 04:54:00 -0800

mysql remote connection under docker

A strange place of mysql8.0 under docker I found a strange phenomenon when I installed mysql (last version) with docker in the morning If there is Let's talk about the pit first The newly installed mysql does not allow remote connection. This problem is easy to solve. Once you search online, the ...

Posted by firelior on Thu, 13 Feb 2020 21:47:18 -0800

Shiro Simple Use

Shiro 1. Introduction Apache Shiro is a Java security (permissions) framework. Shiro can easily develop applications that are good enough not only for JavaSE environments, but also for JavaEE environments. Shiro can complete authentication, authorization, encryption, session management, Web integration, caching, and more. Download address: ht ...

Posted by jsim on Thu, 13 Feb 2020 21:10:28 -0800

Mysql_01 (basic)

Getting started with mysql 01 What is a database? Classification of database The construction of mysql database mysql introduction Installation software Initialization View initial password Login with initial password & & modify initial password Modify password policy Related parameters ...

Posted by burge124 on Thu, 13 Feb 2020 04:46:37 -0800

New password strategy of mysql8

The 8.0 version of mysql adds the functions related to password policy management. The new version can do more control and operation on account password requirements, such as setting reusable restrictions on passwords, modifying password verification policies, etc. the security has been improved compared with the 5.7 version. Let's look at i ...

Posted by AdB on Wed, 12 Feb 2020 23:24:59 -0800