Background NotesThere are several ways to install MySQL, such as binary installation, source code compilation and installation, Yum installation, and so on. Yum installation can only install MySQL version 5.1, the source code installation and
You can use terminal to log on to linuxmysql. the reason for Port 3306 being disabled is bitsCN.com.
Linux suse11 can log on to terminal to perform various operations normally. jdbc web program running on tomcat has an exception:
Com. mysql. jdbc.
1. Full backup and incremental backup 1.1 full-scale backupFull-volume data is all the data in the database, and a full backup is the backup of all the data in the database.Back Up all libraries:mysqldump -uroot -p123456 -S /data/3306/mysql.sock -F -
This article for me to learn old boy teacher MySQL DBA senior operation of the study notes, rookie a If there is a wrong place to write, please the great God more guidance, I will thank you very much. hehe ~7.6.1 MySQL Multi-instance common
Role of the master and slave:
1. It can be used as a backup method.
2. read/write splitting to relieve the pressure on a database
MySQL master-slave backup principle:
Mysql master-slave replication requires at least two Mysql services. Of course,
Rotor http://www.linuxidc.com/Linux/2015-06/119354.htmDirectoryPreparatory workOperating EnvironmentConfirm your version of the installationDownload MySQLInstall MySQLPreparing the installation EnvironmentCompiling and installingConfigure
Mysql opens remote port 15.04 and port 3306 in ubuntu 15.043306.
Ubuntu 15.04 opens mysql remote port 3306. All of the following operations are performed in the terminal.
First, check whether netstat-an | grep 3306 is enabled on the port.
This
There are two major strides in opening MySQL's remote login account:1. Determine that the firewall on the server does not block port 3306.MySQL default port is 3306, need to determine the firewall does not block 3306 port, otherwise remote is unable
The role of Master and subordinate:
1. Can be used as a backup method
2. Used to achieve the separation of read and write, ease the pressure of a database
MySQL master-slave backup principle:
MySQL's master-slave replication is at least two
1. Network detection1) Ping the host can;2) Telnet host 3306 port can not;Telnet host 22 port can be;The description is not related to the native network;2. Port detection1) netstat-ntpl |grep 3306TCP 0 0::: 3306:::* LISTEN-2) Netstat-ntpl |grep
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.