1. BusinessA logical set of operations in which the individual logical units that make up this set of operations either succeed together or fail together.2. Transaction characteristicsAtomicity: Emphasizing the indivisibility of affairs.Consistency:
192.168.254.127 (Zabbix)192.168.254.128 (MySQL)ZABBIX_AGENTD Client SettingsCreate a normal user Zabbix on MySQL data, password Zabbix[Email protected] scripts]# mysql-uroot-pEnter Password:Welcome to the MySQL Monitor. Commands End With; or \g.Your
Scrapy crawls the item, we can use pipeline.py to enter the item into the MySQL database.Write pipeline.py define a class, this class is used to enter the database, remember in the setting.py item_pipelines={...} Add the path of this class, and then
All commands are marked with a semicolon ending with a wrong command; exit
/usr/local/mysql/bin/mysql-uroot into MySQL commandRecommendation: Change the environment variable path to increase the absolute path of MySQL (export
Mysqldump Minimum permission description required for backup:1, for table,mysqldump minimum must have SELECT permission2, if you want to produce a consistent backup, mysqldump to have lock tables permissions3, for View,mysqldump to have show view
Today using MyBatis query MySQL data, all the time is wrong, all the time than the database time more than 14 hours, considered a bit, the initial decision is the system time zone problem. Because the MySQL time zone setting defaults to the
1. The first type:The key to relieve the master-slave table constraintIn general, when we add foreign keys to the main table, remember to design the foreign key name so that you can delete the foreign key constraint later.To declare the FOREIGN KEY
When we were hired to monitor MySQL performance, people wanted us to look at the MySQL configuration and give some suggestions for improvement. Many people were surprised after the fact because we suggested that they only change a few settings, even
Storage target: Storage is based on different application environment through the adoption of reasonable, safe, effectiveSave data to certain media and ensure effective access? On the one hand it is the physical medium where data is temporarily or
The isolation level of things, say simple is very simple (novice can say is an isolation level and influence), said the male is also very difficult. (Many programmers with years of programming experience are still unclear)Nonsense not much straight
First, IntroductionTurn on the slow query log, you can let the MySQL record query over a specified time of the statement, through the location analysis of performance bottlenecks, to better optimize the performance of the database system.Second,
Data type classification
MySQL data types are divided into five categories, integer type, floating-point type, String type, date type, and other data types.
Integer type: bit, bool, tiny int, small int, Mediun int, int, big int
First, create a data tableSyntax:CREATE TABLE table name (Field field type [Field Properties], Field field type [Field Properties],...) [Table options];Table options: Data table properties, typically including engine, CharSet, collateEngine: Storage
The data structure and algorithm principle behind MySQL indexFirst, the definitionIndex definition: Index is the data structure that helps MySQL to get data efficiently.Essence: An index is a data structure.Second, B-treeM-order B-tree meet the
Modifying the MY.CNF configuration file/usr/local/mysql/bin/mysql--verbose--help | Grep-a 1 ' Default options 'Default options is read from the following files in the given order:/ETC/MY.CNF/ETC/MYSQL/MY.CNF/USR/LOCAL/MYSQL/ETC/MY.CNF
It's basically generic.C # interaction with MySQL, first add MySQL.Data.dll (in the MySQL installation directory under the connector NET 8.0\assemblies${version} directory) reference, followed by the following steps in the code (select does not use
There are several times in MySQL: Date, time, DateTime, timestamp, yearMySQL data type meaningDate only stored date, ' 2018-07-12 'Time is stored only seconds and minutes, ' 09:51:02 'DateTime storage Month day minute minute, ' 2018-07-12 09:51:02
1th MySQL Introduction and Deployment 1.1 Introduction 1.1.1 What is dataData refers to the recording of objective events and can be identified symbols, is the nature of the objective things, state and the relationship between the physical symbols
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service