mysql+mycat read-write separation

Environmental Science 192.168.2.118 mysql-master/mycat 192.168.2.119 mysql-slave Configure jdk tar -zxf jdk-8u151-linux-i586.tar.gz mv jdk1.8.0_151 /usr/java/ Configure environment variables and take effect vim /etc/profile export JAVA_HOME=/usr/java/ export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib export ...

Added by foreknowapparel on Sun, 19 May 2019 01:48:47 +0300

Power saving mode for Android 9.0 power management

On Android's platform, the issue of power consumption has been criticized.Since Lollipop, Google has also attached great importance to transforming its power-saving model.This article will be based on the latest Android Pie code to analyze the current power saving mode process for Android, and give some suggestions for some poi ...

Added by phpvn.org on Sun, 19 May 2019 00:31:51 +0300

[VUE] NET implements Tree component bidirectional data binding (2)

Write before Tree Stitching Code summary Write before In the previous articles, we have done the preparatory work. Next, we need to do two steps. The first step is to read the data from the user group resource table, and assemble the tree according to the level of the resource page. This process only involves query. The second step ...

Added by sklein99 on Sat, 18 May 2019 20:49:14 +0300

Multithreaded disconnected continuation function written without a third-party framework

1. Background Recently, we need a disconnect continuation function, but feel that some frames are not suitable, so we write a multi-threaded disconnect continuation function based on principle Support technology sharing, but please indicate the source when copying and forwarding my blog. Thank you https://my.oschina.net/grkj/blog/2907188 2. Pe ...

Added by sarmad_m_azad on Sat, 18 May 2019 20:33:14 +0300

10. Realization of Logic Function of Multi-Seller Tool Group Reminder in ABPZero Series Tutorials

Class libraries have been encapsulated in the previous article, and now we continue to implement functions to achieve a complete function on the basis of the ABP Zero framework. Redis cache Before writing the function, install Redis on the machine. You need to use Redis as a cache. Here are two Windows installation Redis tutorials. Blog Gard ...

Added by steven fullman on Sat, 18 May 2019 19:20:04 +0300

7. View operation of MySQL database

In the last section, the view concept of MySQL database was introduced at the end. This chapter will give a detailed introduction to the centralized use of views. Before creating the view, we first create the student table, college table and student information table. By using the operation of the view to three tables, we can have a basic under ...

Added by Nacota on Sat, 18 May 2019 12:07:04 +0300

Python+selenium crawls job information recruited by Zhilian

The whole crawler is based on selenium and Python, running the packages needed  1 mysql,matplotlib,selenium  Need to install selenium Firefox browser driver, Baidu search. The whole crawler is modular. Functions and classes with different functions are placed in different files. Finally, constants that need to be configured are placed in consta ...

Added by ludwig on Sat, 18 May 2019 09:49:29 +0300

python pymssql usage - Guide to the use of pymssql modules

pymssql module usage guide Preface Using pymssql module Basic usage process Create connection User Authentication Logon Windows Identity Authentication Logon Several other common options Interactive operation Submit sql commands Calling stored procedures Submit revision Get results Notes for Cursor Objects Close links F ...

Added by sandstorm140 on Sat, 18 May 2019 09:34:38 +0300

Q Language Learning Road-Dictionary

1. Dictionary Basis 1. definitionThe dictionary is key-values pairs, but in q, the dictionary is stored by list. Dictionary creation uses operators!, read bang:) All dictionary types are 99h. q)10 20 30!1.1 2.2 3.3 10| 1.1 20| 2.2 30| 3.3 q)`a`b`c!100 200 300 a| 100 b| 200 c| 300 You can use the operators key, value, count to get the keys, val ...

Added by edikasim81 on Sat, 18 May 2019 09:27:57 +0300

Spring boot introduction: integration of Shiro to achieve login authentication and rights management

This article is followed by the last blog: Introduction to Spring boot (3): Spring boot integration combined with AdminLTE(Freemarker), using generation to automatically generate code, using DataTable and Page Helper for paging display . According to the previous blog, we can build a simple Spring Boot system. This blog continues to transfor ...

Added by XZer0cool on Sat, 18 May 2019 06:38:44 +0300