Running multiple mysql instances on one machine
Installation instructions:
A mysql program file, a configuration file, running multiple mysql instances (each with its own distinct data directory).For the convenience of the test, only two examples are used in this experiment.
MySQL program installation directory: /usr/local/mysql_5.6.38
Data directories for MySQL i ...
Posted by mega_hurtz on Thu, 16 Jul 2020 09:08:28 -0700
Running multiple mysql instances on one machine
Installation instructions:
A mysql program file, a configuration file, running multiple mysql instances (each with its own distinct data directory).For the convenience of the test, only two examples are used in this experiment.
MySQL program installation directory: /usr/local/mysql_5.6.38
Data directories for MySQL i ...
Posted by mrinfin1ty on Thu, 16 Jul 2020 09:07:05 -0700
[cluster building topic] - Kafka cluster building
Kafka -- cluster building
Service discovery: first of all, the mutual discovery of services between kfakas is realized by using Zookeeper. Therefore, Zookeeper must be built in advance. To build a Zookeeper cluster, please pay attention to the blog's article: Building Zookeeper cluster;Service relat ...
Posted by Bauer418 on Mon, 29 Jun 2020 20:50:55 -0700
Front end development -- HTML
1, Introduction to front end development
As a programmer, if you want to develop a website, its essence is to receive the browser's request and return the data to the socket server, and the returned data format should conform to the rules recognized by the browser.
The purpose of the front-end development course is to take you to learn all th ...
Posted by syth04 on Mon, 29 Jun 2020 19:32:41 -0700
@What does the Transaction annotation not work?
Take a look at the simplest example of CGLIB, and feel how AOP is achieved?
/**
* Created with vernon-test
* Description:
* User: chenyuan
* Date: 16/4/25
* Time: 9:25 am
*/
public class Target {
public String execute() {
String message = "----------test()----------";
System.out.println(message);
return message ...
Posted by stylefrog on Mon, 29 Jun 2020 03:15:21 -0700
Node.js With ProtoBuffer, realize a redis from zero
Write at the beginning
If you want to learn the wheel making technology, you can see my previous collection of original articles: https://mp.weixin.qq.com/s/RsvI5AFzbp3rm6sOlTmiYQ
If you want to get 3700G of free learning materials or join the technology exchange group (no advertising), you can use the end of the article + my wechat to focus ...
Posted by wutanggrenade on Sun, 28 Jun 2020 18:08:35 -0700
Concurrent programming -- 7. Singleton mode
The pattern is separated from the language, and the singleton pattern in the design pattern is very important in the concurrency. We should not indulge in the language and architecture, but think about the problem from the design point of view. Technology is the easiest to be replaced. Only by formin ...
Posted by justinjkiss on Thu, 25 Jun 2020 04:15:57 -0700
MySQL 5.5 Source Installation - Cmake (Multiple Instances)
1. Environment
OS environment: Linux db01 2.6.32-431.el6.i686
MySQL version: mysql-5.5.44
MySQL installation path: /usr/local/mysql
MySQL data path: /data
MySQL port: 3506 3507
2. Preparations
1. Dependent Package Installation
yum install ncurses-devel libaio-devel gcc gcc-c++ bison -y
2. Install compiler ...
Posted by m4rw3r on Sun, 21 Jun 2020 09:59:11 -0700
How to add fields to mysql large tables without stopping
Adding fields to a table of ten million or more levels in MySQL has always been a headache. In this case, how to deal with it? This paper uses three common scenarios to illustrate the case.
1. Environmental preparation
Database version: 5.7.25-28 (Percona branch)
Server configuration: three centos 7 virtual machines with 2CPU 2G memory
Database ...
Posted by romilbm on Fri, 19 Jun 2020 23:20:57 -0700
boost.asio The implementation of std::bind on the asynchronous echo server side of
Since C++11, it has provided many traversal tools. Some tools in the boost library have also entered the C + + standard library. Boost, as a "quasi" standard library, is also the knowledge and skills that C + + needs to master as much as possible.
Now we use std::bind to realize the asynchrono ...
Posted by -Mike- on Mon, 15 Jun 2020 21:35:17 -0700