Share a script that automatically jumps to mysql slave database with the 1062 error bitsCN.com
Share a script that automatically jumps to the mysql slave database with error 1062
A sudden power loss from the database may cause the information in
MYSQL creates a database in UTF-8 format, bitsCN.com
MYSQL creates a database in UTF-8 format
Start with mysql:
Linux code
GBK: create database test2 default character set gbk COLLATE gbk_chinese_ci;
UTF8: create database 'test2' default
MySql installation (rpm) and startup configuration bitsCN.com
MySql installation (rpm) and startup configuration
Installation steps:
1. unzip the MySql installation package
[Root @ bakdbserver mysql] # tar-xf MySQL-5.5.24-1.rhel5.x86_64.tar [root
MySQL transaction learning -- amp; gt; isolation level bitsCN.com
MySQL transaction learning --> isolation level
6. transaction isolation level
Purpose
In database operations, the transaction isolation level is proposed to effectively ensure the
High-Performance MySql evolution: Introduction to the principles and features of common index types bitsCN.com
High-Performance MySql evolution: Principles and features of common index types
As we all know, the impact of indexes on database
Comparison between mysql and postgresql (for reference) bitsCN.com
To understand the difference between PostgreSQL and MySQL, I searched for the keyword MySQL vs PostgreSQL and read several articles on the first page. The following is a
High-Performance MySql evolution (11): Optimization of common query statements bitsCN.com
Summarize the optimization methods of common query statements.1 COUNT
1. Functions of COUNT
· COUNT (table. filed) indicates the number of records for which
Some differences between MySQL and oracle databases (reprinted) some differences between MySQL and oracle databases
0. group function usage rules
In mysql, group functions can be used at will in select statements. However, if a group function exists
Exquisite SQL statement set (collection) http://www.cnblogs.com/beniao/archive/2008/05/14/1197137.html reprinted
Collection of exquisite SQL statements)
The following statements are Mssql statements and cannot be used in access. SQL
MHA bitsCN.com for MySQL high availability kill
Many people think of MySQL Cluster or Heartbeat + DRBD when it comes to the high availability of MySQL. However, the complexity of these solutions is often daunting, using MySQL replication to
Cainiao class: MySQL database bitsCN.com accelerated by the database engine. if you are a racing driver and click the button, you can change the engine immediately without driving the car to the garage, what would it feel like? What MySQL database
Convert string type fields to datetime type bitsCN.com in mysql statements
In a mysql statement, convert a string-type field to a datetime-type field. in mysql, use str_to_date () to convert a string to a date. here, the Start_time and End_time
Mysql Procedure parameter is NULL problem analysis bitsCN.com
An interesting thing was found during the recent writing process. Mysql procedure has its own unique processing method when passing parameters. For example, if the parameter is defined as
Mysql is a master-slave problem-log synchronization data is not synchronized bitsCN.com
I set up mysql for master-slave replication.
The mysql environment of the two machines is identical
Part 1 test:
Synchronization test for master A and slave
21 best practices for MySQL Performance Optimization bitsCN.com
Today, database operations are increasingly becoming the performance bottleneck of the entire application, especially for Web applications. Concerning the database performance, this is
Quick Start of MySQL slow log query method bitsCN.com
MySQL slow log query is unfamiliar to many new users who are new to MySQL data. The following describes the usage and benefits of MySQL slow Log Query for your reference. Mysql has a function to
Mysqldump how to remotely back up mysql database mysqldump
BitsCN.com
The user who uses mysqldump to back up the database requires a relatively small amount of permissions. only the select and lock table permissions are required. Therefore, users
Default mysql does not support functions and sets the default time bitsCN.com.
The default value of mysql does not support functions and the default time is set. Java code because the default value of the current MySQL field does not support
Queries the disk space used by all databases in mysql and the size of all tables in a single database bitsCN.com
Query the disk space used by all databases in mysql and the size of all tables in a single database
SQL code
Select TABLE_NAME,
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