My docker essays 15: MySQL automatically creates databases at startup

Background and Analysis When the MySQL container starts up, it automatically creates some necessary databases, such as MySQL, which is the official default. However, in practice, we also need to let MySQL create our own custom database automatically. This paper explores the application occasion. The ...

Added by rekha on Mon, 29 Jul 2019 17:14:18 +0300

CDH5.16: Offline Installation Deployment

Articles Catalogue 1. Preparations 1.1 Off-line deployment is mainly divided into three parts 1.2 Planning 1.3 Download Source 2. Cluster Node Initialization 2.1 Ajiyun purchases three ECS hosts and pays for them by volume 2.2 Windows Configuration hosts File 2.3 Linux configuration hosts file 2.4 ...

Added by EnDee321 on Mon, 29 Jul 2019 15:34:51 +0300

Deep and simple introduction of spring boot 2.x configuration data source

Configuring data sources After relying on spring-boot-starter-data-jpa, it configures data sources for you by default. These default data sources are mainly memory databases, such as h2, hqldb and Derby. Sometimes they need to be configured as the data sources we want. Start the default data source ...

Added by Jeroen_nld on Mon, 29 Jul 2019 09:26:23 +0300

MySQL for Goang Fragmentation

MySQL is a commonly used relational database. This paper introduces how to operate MySQL database in go language. Go Manipulates MySQL Connect The database/sql package in Go language provides a wide range of interfaces to guarantee SQL or quasi-SQL databases, and does not provide specific database drivers. A database driver must be injected wh ...

Added by yhchan on Sat, 27 Jul 2019 12:09:48 +0300

Practice of SSO Single Sign-on System

General Introduction Single sign-on system (SSO) is one of the most popular solutions for business integration in enterprises.SSO is defined as multiple applications in which users only need to log in once to access all mutually trusted applications.Any SSO framework needs to create a unified certification center! Solve the problem ...

Added by shanksta13 on Fri, 26 Jul 2019 21:48:01 +0300

django and xadmin build background management system-xadmin installation and use

After installing django, it's time to install xadmin. We all know that Django has its own native background admin, but here we don't need admin, we use xadmin, because the interface of xadmin is more beautiful. 1. Installation of xadmin First log in to root user and install xadmin: 1pip install https://github.com/sshwsfc/xadmin/tar ...

Added by the_reverend on Tue, 23 Jul 2019 13:12:20 +0300

DDT Data Driver for python Automated Testing

After a long time, smoke again, automated testing work is still continuing. Data-driven technology in automated testing is particularly important. Otherwise, how to achieve data separation? Right, here is a brief introduction of DDT data-driven technology that matches traditional unittest automated testing framework. Let's not say much. First, ...

Added by Lashiec on Tue, 23 Jul 2019 08:42:23 +0300

Mysql binary log master-slave replication best practices

Practice background Recently, I joined the technical sharing group of my classmates. Four people are divided into two groups and have a technical sharing once a half month. Now I am assigned to explain Mysql blog. Last week I finished it, but they always feel that they don't know the blog thoroughly and feel it's not relevant. So they feel comp ...

Added by ReverendDexter on Mon, 22 Jul 2019 19:07:24 +0300

Questions 51-61 and Personal Solutions

Catalog 51. Find the number of occurrences of commas in strings'10,A,B','cnt. 52. Get the first_name in Employees, and the query is arranged in ascending order according to the last two letters of the first_name. 53. According to dept_no, emp_no belongs to the same department is connected by comma, and the res ...

Added by villas on Mon, 22 Jul 2019 18:43:34 +0300

Spring Boot2: Integrating Mybatis infrastructure with Spring Boot2

Warehouse Address: spring-boot-learningWelcome to star and fork, give some encouragement to the author Preface Mybatis was difficult to use initially, requiring various configuration files, entity classes, Dao layer mapping associations, and a large number of other configurations. mybatis-spring-boot-starter is Spring Boot+ Mybatis, which can b ...

Added by mapleleaf on Sat, 20 Jul 2019 16:21:01 +0300