Build a MySQL master/slave database bitsCN.com using the local environment
Build a MySQL master/slave database using the local environment
First, let's introduce my configuration environment.
On the local machine, the IP address of MySQL5.5 is 192.
Compile and install Ubuntu-12.04.2 on MySQL-5.6.10 [Installation notes] Ubuntu
BitsCN.com
Compile and install the Ubuntu-12.04.2 on the MySQL-5.6.10 [Installation notes]
The following installation involves several issues that need to be explained
In Linux, the mysql Port cannot be remotely accessed. the firewall sets bitsCN.com.
In Linux, the mysql Port cannot be remotely accessed. firewall settings
The following content only solves the problem of the port opened by iptables, and does not
C ++ connects to mysql Chinese garbled bitsCN.com
Settings about mysql encoding:
Http://www.bitsCN.com/database/201108/101151.html
Problem description:
Environment: linux
Mysql encoding settings:
Enter Chinese characters on the terminal
MySQL5.6 replication: Advantages and limitations of GTID (part 1) bitsCN.com
The Global transaction Identifier (Global Transactions Identifier) is a new feature of MySQL 5.6 replication. It provides multiple possibilities for DBAs who maintain
Mysql boolean settings bitsCN.com
Mysql boolean settings
MySQL does not have the boolean type. This is also a strange phenomenon. Example:
Create table xs
(
Id int primary key,
Bl boolean
)
In this way, you can create a table
Mysql database/table sharding bitsCN.com
Mysql database/table sharding
Table Sharding is a good way to distribute database pressure.
Table sharding refers to dividing a table structure into multiple tables, which can be stored in the same database
MySQL hardware acceleration: Flash storage technology bitsCN.com
MySQL hardware acceleration: Flash storage technology
I am afraid I/O has contributed the most to database bottlenecks,
I/O is the best practice for the optimization theory on the
[Fun with MySQLReplication] copying topology bitsCN.com
Simple and simple is true. those high-end foreign copy topologies are purely self-abuse.There are about four principles for implementing replication: ① A master database can have multiple
Install bitsCN.com on the DBI and DBD-mysql modules
Install the DBI and DBD-mysql modules
I. DBI installation
Wget http://www.cpan.org/modules/by-module/DBD/DBI-1.604.tar.gz
Tar-zxvf DBI-1.604.tar.gz
Cd DBI-1.604
Perl Makefile. PL
Make
Make
Mysql numeric data type bitsCN.com
Mysql value data type
MySQL numeric data types can be roughly divided into two categories: one is an integer, and the other is a floating point or decimal. Many different subtypes are available for each of these
[SQL] MySQL Performance Optimization bitsCN.com
[SQL] MySQL Performance Optimization
1. optimize your query for the query cache
Query cache is enabled on most MySQL servers. This is one of the most effective ways to improve performance, and it is
The failover processing process bitsCN.com after the master database of db0101 is down in 48 nodes groups online
Failover processing after 48 nodes in the online group and db0101 master database are down
When a call is received, db0101 is Down and
Mysql concatenation operator bitsCN.com
Mysql join operator
1. the effect of the comma-separated JOIN operator is similar to that of inner join:
[SQL]
Select t1. *, t2. * from t1, t2 where t1. I = t2. I;
It is equivalent:
[SQL]
Select t1
A simple example of mysql's MERGE storage engine: bitsCN.com
A simple example of mysql's MERGE storage engine
Role: you can merge multiple tables with the same structure into one table.
Supported versions: mysql5.1
Example:
Assume that there are
Usage of mysqltoolkit [memo] bitsCN.com
Mysql toolkit is a small plug-in used to monitor and analyze databases. it is usually used to call perl to analyze and compare the current environment and database. it is worth learning.
Use the trim function in MYSQL syntax to delete bitsCN.com characters on both sides.
In actual development, you always encounter this situation.
Or in this case
If you are still using select fields from table where like '/%', it is definitely
Resolve MSSQL cross-database query implementation method bitsCN.com
-- Create a linked server
Exec sp_addmediaserver 'connection server name', '', 'sqlodb', 'remote server name or IP address'
Exec sp_addmediasrvlogin 'linked server name', 'false',
Description of the use of InnoDB data recovery tools for MySQL database: bitsCN.com This article introduces an open source MySQL database InnoDB data recovery tool: innodb-tools, it extracts table row records from raw data files to restore data from
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