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.
Five ways for Mysql to view the version number: bitsCN.com
Five ways to view Mysql version
View version information
#1
Enter mysql in command line mode and you will see the start prompt.
Your MySQL connection id is 3
Server version: 5.1.69 Source
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
Solution to installation failure of MySQL5.6 management account in linux bitsCN.com
Solution to installation failure of MySQL5.6 management account in linux
This is not an article, just to record the time I spent this afternoon for no reason. To
4. create and update a data table bitsCN.com
A data table is an operation-level object in a relational database. In relational databases, data records are stored through data tables.Primary keys, foreign keys, constraints, and indexes are often used
Mysql high availability solution MHA introduction bitsCN.com
Introduction to mysql high availability solution MHA
Overview
MHA is a MySQL Failover Solution written by MySQL daiu in Japan using Perl to ensure high availability of the database
Mysql real-time synchronization-dual-host mutual standby (dual master) bitsCN.com
Mysql real-time synchronization-dual-host mutual backup (dual master)
Setting method:
Step 1
On server A (192.168.1.43), the user is backup, 123456, and the
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 learning footprint record 05 -- data filtering -- AND, OR, NOT, IN bitsCN.com
MySQL learning footprint record 05 -- data filtering -- AND, OR, NOT, IN
1. AND operator
* Search for rows matching all given conditions
eg: mysql> SELECT prod_
[Mysql] shell runs mysql SQL statement bitsCN.com
[Mysql] SQL statement used by shell to run mysql
Shell itself is a scripting language, so it cannot connect to the database through APIs like java. Shell still needs to execute SQL statements by
Length value of mysqlint type bitsCN.com
What is the length of the int type after mysql creates a table? Is this column the maximum width allowed to store values? Why can I set it to int (1) and save 10,100,100 0.
At that time, although I knew
Install bitsCN.com from MySQL5.5 source code
Install MySQL 5.5 source code
First of all, we need to prepare MySQL. As for where to download it, we don't need to talk about it. it's hard to be a smart friend. The MySQL version used in this article
All Web software and applications require powerful databases as the backend. Currently, there are countless database management tools available on the internet. it is especially important for developers to choose one suitable for themselves. This
Mysql inserts Chinese characters into full question mark ??? Solution: bitsCN.com
1. check and modify the my. ini configuration file of mysql.Default-character-set = utf8
2. to create a database, you must specify the character set.Create database
Parse the SQL table structure information to query the data dictionary that needs to be done in the latest project including the primary and foreign keys and the self-increasing bitsCN.com. the table structure information is required. I have read a
Use and disable Mysql cursors for in-depth analysis of bitsCN. comMysql supports stored procedures and triggers starting from 5.0. it gives us the reason that mysql users prefer mysql. The syntax is different from PL/SQL. However, programmers know
Description of the differences between IFNULL, IF, and CASE in mysql: bitsCN.com assume that the status field of a data table is of the varchar type and has the following values: NULL, pending, pending refund, refund, and cancel.
We know the order
MySql official manual study notes 2MySql fuzzy query and regular expression regular expressions
BitsCN.com
SQL mode matching allows you to use"_"Match any single character, while"%"Matches any number of characters (including zero characters ). In
The solution to the read/write mutex lock problem of Mysql (MyISAM) bitsCN.com cannot add a read server in a short period of time. Therefore, some Mysql configurations are adopted to sacrifice the cost of real-time data, in exchange for the life
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