[MySQLbinlog] thoroughly parses the binlog bitsCN.com in the Mixed log format
Mysql binlog3 formats: row, mixed, and statement. parsing
Mysqlbinlog -- base64-output = DECODE-ROWS-v mysql-bin.000144 | more
-Base64-output = DECODE-ROWS:The SQL changes
MySql practical notes bitsCN.com
1. double-click mysqld.exe
2. change the password mysqladmin-uroot password journey
3. log on to mysql before importing the DATABASE, and enter create database databaseName default character set uts8 default
10 configuration items required for MySQL optimization bitsCN.com
When we were hired to monitor MySQL performance, people wanted us to check MySQL configurations and give some suggestions for improvement. Many people are surprised afterwards,
NoDialectmappingforJDBCtype: bitsCN.com
If there is no problem with using hql statements, there will be a problem through SQL. The reason is that the SQL query field contains the field type such as mediumtext. If an error is reported, an error will
After one night of hard work, the installation was successful: the information collected on the internet mainly includes the following two aspects: first, MySQL5.6.13 installation steps (Windows764-bit) 1. download MySQLCommunityServer5.6.132. unzip
MySQL Security Configuration Wizard mysql_secure_installation details bitsCN.com
After installing mysql-server, you will be prompted to run mysql_secure_installation. Running mysql_secure_installation will execute several settings:A) set a password
ODBC data source configuration and PDM import for MySQL under Win7
BitsCN.com has designed a MySQL table in PowerDesigner of Win7. it is only found that MySQL is ready to be imported into the MySQL database.
The ODBC program is not installed, and
MySQL simulates the PostgreSQLgenerate_series Table function bitsCN. comPostgreSQL provides a powerful data generation function, generate_series, based on the Common Table Expression.
The table structure is as follows: ytt [love]> show create table
AsyaKamsky, Chief solution architect of MongoDB, recently published an article about 10 things that need to be known when running MongoDB on a large scale. 1. MongoDB also needs DevOps. MongoDB is a database. Like any other data storage, it also
Mysql changes the id of an existing table to auto-increment bitsCN.com, for example, Table: user field: userid name pw. the useid of the user table is not auto-increment. Change userid to auto-increment. Run the following statement to add userid
Use freemarker to generate html and doc files [original] bitsCN.com
Language: java
Function: use freemarker to generate html and doc
1. generate html
1 public void updateuseFreemarker2html (String abdkId) {2 // the data file to be filled in the
In mysql, database data is multiplied by bitsCN.com.
In projects, you sometimes need to test the database performance or to test the paging effect. if one piece of data is inserted, the efficiency is obviously very low. The SQL statements added in
MysqlFederatedServer example bitsCN.com
The Federated Storage Engine accesses data in a table in a remote database, rather than a local table. When creating a Federated table, the server creates a table definition file in the Database Directory. No
MySQL Update statement Set sequence problem bitsCN.com
1. Test 1Create table test (id int, tag int, num int );
Insert into test (id, tag, num) values (1, 1, 1), (2, 2), (3, 3 );
Update test set
Tag = 4, num = case when tag = 4 then 4 else 3
I stepped on a mine of mysqldump. mysqldump
Let's first look at two cases: P 1:
[21:56:33-root @ ssdtest :~ ] # Mysqldump-S/data/mysql/test_3306/mysql. sock -- single-transaction -- force -- databases tpcc> v1. SQL
P 2:
[21:56:54-root @
Several common forms of MySQL subqueries:
Select * from xxx where col = [any | all] (select * from xxxx );
This syntax can be divided into two types: keyword addition and keyword addition. when a keyword is not added, the subquery statement
Summary and use of mysql triggers (triggers)
I. What triggers
1. personal understandingA trigger, literally, is a trigger. for example, if it is dark, you turn on the light and you see something. You put a gun on it and lit it up. it will blow up
PHP uses PHP to display MySQL database data from a row (13). 1. execute SQL statements in PHP.
To obtain data from the database, PHP must first execute an SQL statement for table operations, including SELECT, INSERT, UPDATE, or DELETE statements.
Disablingbinlog_checksumforMySQL5.55.6master-masterreplication Replicating from a newer major version to an older major version in MySQL (for example a 5.6 master and a 5.5 replica) is generally not recommended, but when upgrading a master-master
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