SpringBoot implements multiple data source configuration

Spring boot for multi data source configuration springBoot implements the configuration of multiple data sources application.properties Configure two data sources in spring.datasource.primary.url=jdbc:mysql://localhost:3306/test1 spring.datasource.primary.username=root spring.datasource.primary.password=root spring.datasource.primary.driv ...

Posted by AtomicRax on Mon, 20 Jul 2020 18:01:36 +0200

ajax and servlet -- Verify that the user name exists

Verify that the user name exists -- using jQuery 1. Database mysql The user name already exists in the database. 2. html Page <body> <h1>User Login</h1> <hr> <form name="regForm" action="dologin.jsp" method="post"> <table> <tr> <td>user ...

Posted by splitinfo on Fri, 17 Jul 2020 16:26:13 +0200

phpmyadmin connects databases on multiple servers at the same time

1. Scenarios for use In general, there are test environments and formal environments for our development.Of course, databases are also separate.If you could use phpmyadmin to directly access mysql on both servers.This is the need. 2. Solutions 1. Find under the phpmyadmin folderConfig.sample.inc.php, renamedConfig.inc.php. 2. OpenConfig. ...

Posted by DanArosa on Wed, 15 Jul 2020 17:45:45 +0200

Solving Chinese Scrambling Problem of mysql+python on mac Platform

First, for mysql databases, the default character is latin1 This latin1 is the culprit that we can't write in Chinese.The solution, then, is to change the character set to UTF-8 The easiest way to do this is to modify the windowMy.iniProfile),My.iniWhere and how to modify it to UTF-8 is as follows: https://www.cnblogs.com/Ray-xujianguo/p/332 ...

Posted by htcilt on Sun, 12 Jul 2020 17:34:44 +0200

Install MySQL 5.7 under CentOS 7.3

1. Download Download address: https://dev.mysql.com/downloads/mysql/ Select the version you need to install, where my computer is CentOS7.3 64 bit Then download RPM Bundle, a collection of several programs. Then start downloading... 2. Unzip the installation package Unzip mysql-5.7.20-1.el7.x86_64.rpm-bundle ...

Posted by cdwhalley.com on Thu, 09 Jul 2020 18:16:54 +0200

Aliyun CentOS7.3 Build LNMP Manually

** 1. Turn off firewalls and selinux --------------- ** Close Firewall [root@localhost ~]# systemctl stop firewalld.service selinux [root@localhost ~]# vim /etc/sysconfig/selinux Find SELINUX=enforcing and change enforcing to disabled [root@localhost ~]# setenforce 0 ** 2. Install nginx --------- ** wget download install ngi ...

Posted by antwown on Sat, 04 Jul 2020 17:42:46 +0200

MySQL Installation Configuration

Linux version: CentOS 6.5 64-bit 1. Download MySQL wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.20-1.el6.x86_64.rpm-bundle.tar 2. Decompression mkdir mysql cd mysql [root@localhost mysql]# tar -xvf mysql-5.7.20-1.el6.x86_64.rpm-bundle.tar mysql-community-embedded-devel-5.7.20-1.el6.x86_64.rpm mys ...

Posted by phpMitch on Fri, 03 Jul 2020 17:18:54 +0200

python3 implements mysql export excel

I. Preparations Python Tool Library Installation xlwt and xlrd Installation under 1.1win7 1.1.1 Method 1: Download and Install 1. From http://pypi.python.org/pypi/xlwt Download xlwt-1.0.0.tar.gz; 2. From http://pypi.python.org/pypi/xlrd Download xlrd-0.9.4.tar.gz; 3. Unzip the package; 4. Run under win7. [plain] view plain copy cmd ...

Posted by SystemOverload on Thu, 02 Jul 2020 17:02:27 +0200

One level of mybatis cache

For the mybatis framework. It seems to be used in copy all the time. For mybatis caching. There is no accurate cognition. Take advantage of the holiday. Learn the cache of mybatis. This article mainly studies the first level cache of mybatis. Why cache In fact, we have been working for a long time, and we know that many bottlenecks ar ...

Posted by yelvington on Sat, 27 Jun 2020 09:29:25 +0200

Distributed transaction solution -- Seata -- Implementation

Distributed transaction solution -- Seata -- Implementation Seata Background Seata version selection Seata practice 1. Problem description 2. Problem location 3. Solutions Seata Seata is an open source distributed transaction solution, which is committed to providing high-performance and easy-to- ...

Posted by matstuff on Fri, 26 Jun 2020 10:14:12 +0200