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,
Mysql-5.6 master-slave replication and encountered errors mysql replication process: each write operation, it will save a copy to its own database, at the same time, this write operation will also be stored in a binary log file and saved as events.
I use ssh for remote configuration. The configuration is slightly different. 1. Install MySQLsudoyuminstallmysqlmysql-serversudochgrp-Rmysqlvar
I use ssh for remote configuration. The configuration is slightly different. 1. install MySQLsudo yum
MySQL log Files are generally in varlogmysqld. log. The following describes how to modify the location of MySQL log Files. For more information, see
MySQL log Files are generally stored in/var/log/mysqld. log. The following describes how to modify
First, error and exception handling1.1 Error types and basic debugging methods?? Error occurrences of PHP programs are generally attributed to the following three areas:?? Syntax error:?? Syntax errors are most common and easy to fix. such as: A
MySQL log Files are generally stored in/var/log/mysqld. log. The following describes how to modify the location of MySQL log files for your reference.
Today, you need to change the location of the MySQL Log File and find that it cannot be changed in/
Log error: ServiceBrokerneedstoaccessthemasterkeyinthedatabaseBRM_TEST.Errorcode: 32. errors. Cause: SqlDependency is being used to clean up services, queues, and stored procedures.
Log error: Service Broker needs to access the master key in the
02-mysql-Installation02-mysql-Installation
---- MySQL installation version
And technical documents
Mysql current common version mysql-5.6.15.tar.gz
---- MySQL compilation and Installation
1.Installation environment requirements: mysql users and
Centos7 mysql-5.7.11 Installation
I encountered many problems when installing MySQL on Centos for the first time. If you have any problems during the process, please advise ~~
I. Environment1. Centos7 full installation (some basic software is
MySql Replication configuration, mysqlreplicationI. Preface
As a cheap solution for read/write splitting, Mysql Replication supports one master node and multiple slave nodes for data storage and binary log transmission. Currently, Mysql Replication
Vue + axios, vueaxios
You don't need to introduce axios. The api has a specific introduction to axios or axios Chinese;
I am mainly talking about the problems I encountered during my first use of axios and the secondary encapsulation.
Let's talk
Laravel framework usually comes with an error page, if the configuration file Debug=true, will expand the error debugging interface, through the stack tracking can be detailed to see the program's execution process, and error prompts and can
error level for PHP
First you need to know what PHP errors are. Up to php5.5, a total of 16 error levels
Note: When trying the following code, make sure to open error_log:
Error_reporting (E_all); Ini_set (' display_errors ', ' on ');
E_error
This
Check whether logs are enabled for bitsCN.com in mysql logs.
Mysql> show variables like 'log _ bin ';
How to know the current log
Mysql> show master status;
Use mysqlbinlog to view binary log files
Shell> mysqlbinlog mail-bin.000001 (to write
MySQLcrash: InnoDBredologerror solution bitsCN.com
MySQL crash: InnoDB redo log error solution InnoDB: Progress in percents: 1120731 9:56:59 InnoDB: Error: page 9 log sequence number 5746244819174 InnoDB: is in the future! Current system log
Solve the problem of mysqlinnodb data file creation failure bitsCN.com
Troubleshooting of data file creation failure in mysql innodb/etc/my. cnf configuration [mysqld] datadir =/var/lib/mysqlsocket =/var/lib/mysql. sockuser = mysql # Default to
There are 4 types of logs in MySQL: error log, genaral query log, Binary Log, and Slow query log**, error log records error, Warning, note and other information during MySQL operation, system You can view the error log if something goes wrong or a
(1) ERRLOG contains information related to mysqd startup and shutdown, and any serious errors occurring on the server during running; you can use the-log-error [file_name] option to specify the location where mysqld saves the error log file. If the
This article mainly introduces errors and log usage in laravel, and analyzes in detail the settings and usage skills of errors and logs in laravel in combination with the instance form, for more information about laravel errors and log usage, see
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.