First, installation reprint: http://blog.csdn.net/chenpy/article/details/50344085 1. Upgrade Apt-get
Apt-get Update
If it appearsIf you are not the root user, you will need to use the sudo command
sudo apt-get update
1, the principle of master-slave replication:*master, record data change operations- Enable Binlog logging mode- allow Slave to read binlog logs*slave running 2 simultaneous threads-Slave_io: Responsible for connecting Master, copy its binlog log
Original address: http://www.it165.net/database/html/201403/5678.htmlMySQL ClusterCluster/cluster: Provide the same service with a group of serversLB cluster: Load Balancing cluster (multiple servers working together)Ha clusters: high-reliability
Does MySQL forget root password swelling? -_-||| This is not a very common situation, but sometimes the system is not logged in for a long time, and it really forgets the password. At this time, if you can access the password with system
1 Preparatory work2 dependencies required for installing MySQL 2.1 Installing Mysql3 Common commands3.1 Verify that the original host is installed3.2 Start3.3 Login3.4 Telnet3.5 Restart Service3.6 Stop Service3.7 View service Status4 Error
If you want to do one-way synchronization of MySQL Data, you can read another article: www.linuxidc.comLinux2012-1071594.htm 1. Prepare the environment Master:
If you want to do one-way synchronization of MySQL Data, you can read another article:
Welcome to the Linux community forum and interact with 2 million technical staff to enter the methods for modifying the mysql user password. Summary 1. method 1: run the mysqladmin command to change the root password. The command is applicable to
For many PHP beginners, building a LAMP environment that can be used for production is a must. This article uses javastuserver14.04 as an example to provide a tutorial for building a LAMP environment for your reference. LAMP in this Article refers
When you modify the mysql character encoding, the following error occurs: Job failed to start. When you fill in the MySQL database in python mange. py shell, you cannot enter Chinese characters.Modify the MySQL database encoding.Find the following
How to install mysql5.7.21 on centos in Linux,
Preparations:
Environment: linux
System: centos6.4-x86-x64
Installation Tool: mysql-5.7.21-x86-64
Software Download:
Mysql
Or: mysql-5.7.21 Binary Package.
Or use wget for download in
The following information is displayed:
Got an error: Connection error: Can't connect to local MySQL server through
Socket '/var/lib/mysql. sock'
The sudden disappearance of mysql. sock is a common problem. If it occurs after MySQL is installed
MySQL5.6 master-slave Replication (read/write splitting) configuration full version
MySQL5.6 master-slave replication (read/write splitting) Tutorial
1. There are two ways to start master-slave replication from MySQL5.6:
Log-based (binlog );
Based
Install LAMP in Ubuntu Server 14.04
For many PHP beginners, setting up a LAMP environment for production is a must. This document uses Ubuntu Server 14.04 as an example to provide a tutorial for building a LAMP environment, for your reference.
LAMP
This article mainly and everyone PHP development of Linux commonly used command summary, hope to help everyone.
sudo apt-get install software name (install software command)
sudo nautilus Open file (with root permission)
Su root switches to root
CD
Mysql master-slave replication technology (test) bitsCN.com
Mysql master-slave replication technology (test)
Start configuration:
Step 1: Create a replication account
Each slave uses a standard MySQL User name and password to connect to the master.
Installing MySQLMySQL in Linux
!! Assume that all installation packages are in the/share Directory. the installation directory is/opt !!
$ Ll/share-Rw-r -- 1 root 129041873 Nov 29 mysql-5.1.54-linux-i686-glibc23.tar.gz
===============================
Summary of modifying the mysql User Password: bitsCN.com
Summary of how to change the mysql User password
1. modify the root password
Method 1: Use the mysqladmin command
-- Applies to remembering the old root password and modifying the root
The following message is displayed: Gotanerror: Connectionerror: Can
The following message is displayed: Got an error: Connection error: Can
The following information is displayed:
Got an error: Connection error: Can't connect to local MySQL
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.