Error deletion of innodb ibdata data data file recovery
Today, I saw some people in the group who were unfamiliar with innodb and deleted ibdata (data file) and ib_logfile (transaction log) files by mistake. I don't know how to solve it. I didn't know what to do then. Later, relevant information was consulted. Find a solution. In fact, recovery is quite simple. It's hard when we don't know. Who says ...
Posted by fluteflute on Thu, 31 Jan 2019 11:57:15 -0800
c/c++ linux Interprocess Communication Series 3, using socketpair, pipe
linux Interprocess Communication Series 3, using socketpair, pipe
1. Using socketpair to realize interprocess communication is bidirectional.
2. Using pipe to realize interprocess communication
The key point of using pipe: fd[0] can only be used for receiving, fd[1] can only be used for sending, it is one-way.
3. Use pipe and write in with ...
Posted by e11even on Tue, 29 Jan 2019 08:27:16 -0800
The same server (centos7) configures mysql master-slave synchronization
All the paths in this article are followed by an article: CentOS 7 multi-instance of yum installation MariaDB configuration https://blog.csdn.net/u011342720/article/details/83213558
Description: The following port is 3307 instance as main database and 3308 corresponding instance as slave database
Master database configuration ...
Posted by jpt62089 on Mon, 28 Jan 2019 20:12:14 -0800
Concurrent Server, HTTP Protocol for python Network Programming
Concurrent Server, HTTP Protocol for python Network Programming
This document is only used for learning notes. Please indicate where it came from when it was reproduced.
Single process server
Complete a simple TCP server
Case v11:
'''
//Complete a simple TCP server
//Single process server
'''
from socket import *
serSock ...
Posted by peter_anderson on Sun, 27 Jan 2019 23:06:14 -0800
python cx_oracle operation database (2): database data export is written to excle, and tkinter is used as interface, then socket is used to verify user login, and finally pyinstaller package is used.
Continue the previous article: python cx_oracle operation database (1): import excle table into database
Because of the recent use of cx_oracle, tkinter, pyinstaller, socket modules to make a project to implement the interface query operation of the database through the exe program, so it has not been updated.
Step by step
S ...
Posted by jossejf on Sun, 27 Jan 2019 11:33:14 -0800
NestJs Concise Tutorial
After looking at koa,express and their derivative frameworks, it seems that NodeJs'Web development framework can not jump out of a fixed pattern. This question also bothers PHP. Is it possible to simplify development through annotations?In fact, PHP has "annotations", but it is implemented by reading annotations through reflection, wh ...
Posted by asy1mpo on Sun, 27 Jan 2019 09:51:14 -0800
MySQL 5.5.32 Binary Package Deployment Multiple Instances
# System Environment
[root@db01 ~]# cat /etc/redhat-release;uname -r;uname -m
CentOS release 6.8 (Final)
2.6.32-642.el6.x86_64
x86_64
# Software Acquisition
Link: https://pan.baidu.com/s/12haBWs4wbUUMMNuBiZa5mA
Extraction code: gr0i
# Create mysql users
[root@db01 ~]# useradd -u 800 -s /sbin/nologin -M mysql
[root@db01 ~]# id mysql
uid=800(my ...
Posted by the_lynx123 on Sun, 27 Jan 2019 01:12:13 -0800
31_Network Programming-Strct
I. struct
1. Brief introduction
We can use a module that converts the length of data to a fixed length of bytes. In this way, as long as the client accepts the fixed-length byte before receiving the message to see the size of the information to be received next, the final accepted data will stop as long as it reaches this value, and it will ...
Posted by bigfunkychief on Sat, 19 Jan 2019 05:12:12 -0800
LInux Enterprise Training Chapter: Configuration of saltstack Management System and Simple Applications (rpm Installation http, php)
Introduction to saltstack
Saltstack is a C/S architecture configuration management tool based on Python. The bottom layer uses ZeroMQ message queue pub/sub mode to communicate, and uses SSL certificate issuance mode to manage authentication. Deployment is easy, it can run in a few minutes, scalability is good, it is easy to ...
Posted by AndyBG on Fri, 11 Jan 2019 23:12:11 -0800
Summary of Java IO Stream Learning VIII: Commons IO 2.5-IOUtils
Summary of Java IO Stream Learning VIII: Commons IO 2.5-IOUtils
For reprinting, please indicate the source: http://blog.csdn.net/zhaoyanjun6/article/details/55051917
This article is from [Zhao Yanjun's blog]
In the last article, I introduced the common usage of IO FileUtils, and today I introduce the use of IO Utils.
Relevant Method ...
Posted by s2r on Wed, 09 Jan 2019 15:51:10 -0800