System environment: CentOS 6.3 x64
MySQL version: mysql-5.6.10
Keepalived version: keepalived-1.2.7
mysql-vip:192.168.7.253
mysql-master1:192.168.7.201
mysql-master2:192.168.7.249
First, close iptables and SELinux.
# Service Iptables Stop
#
1. May be the/var/run/mysqld/mysql.pid file does not write permission
Workaround: Give permission, execute "chown-r mysql:mysql/database" "Chmod-r 755/var/run/mysqld" and restart mysqld!
2. There may already be a MySQL process in progress
Innodb_flush_log_at_trx_commit determines when the transaction log Write,flush
Innodb_flush_method determines how the log and data files are write and flush. "Show variables" shows that the variable is empty, which means that the default value is
Directory
1.MySQL Hot-Backup script
2. Synchronize server with FTP
3.Keepalived Monitoring and switching scripts
4.SVN batch backup of the version library
5. Automatically monitor ADSL and dial number
6.Linux Batch Build Generation account
System environment: CentOS 6.2 64-bit
Kernel version: 2.6.32-220.el6.x86_64
MySQL version: 5.1.62
One, MySQL multi-instance introduction and MySQL multi-instance features
1, what is a MySQL multiple instances?
MySQL multiple instances is on a
Project Environment:
Xian Lingyun High-tech Co., Ltd. installed the Linux server, and has successfully deployed the Apache server, (so we do not need to install the Apache server in this project) in order to build the company's forum system, need
Four, the first script
If I tell you that the really sad one has passed, you will be very happy. The software installation process is always unpredictable, because the system can be said to be different from the system. But you're lucky, the
Campus Forum is one of the indispensable parts of campus network. Although the forum based on Asp+access simple, easy to install, but the MySQL database with its short, convenient, fast, free and so on the advantages of many sites are currently the
There are a lot of basic commands in MySQL, and the show command is one of them, and it's easy to confuse the use of SHOW commands among many users, and this article brings together the many uses of the show command.
A. Show tables or show tables
Introduction Introduction
The MySQL 5.0 new features tutorial is written for old MySQL users who need to understand the new features of version 5.0. The simple introduction of "stored procedures, triggers, views, information architecture view,"
Backup from Host A to B host
Mysqldump-uroot-p Vw>vw.sql
Now back up the database files, you need to restore to the target computer b,b version of the 5.5.23,a machine MySQL version for 5.0.22
mysql>source/root/vw.sql;
..... ...... ..... .....
By default, Mysqld shields the host after a 10-time connection error. You can adjust the value by starting the server in the following ways
If you encounter the following error, MYSQLD has received many connection requests from the host "Host_name",
A communication packet is a single SQL statement sent to a MySQL server, or a single line sent to the client.
The maximum possible packet of information between the MySQL 5.1 server and the client is 1GB.
When a MySQL client or mysqld server
Demand:
User is the C/s structure, each user can see different data depending on the role. The system generates a data content based on an identity, which is then accessed through a unified view.
requirements, you cannot modify the view, and you
You can use the "--ansi" startup option to require MYSQLD to use ANSI mode.
Running the server in ANSI mode is the same as the effect of starting it with this option (specifying the "--sql_mode" value on one line):
This article describes six considerations for protecting critical data in the MySQL database from external attacks to reduce the risk of exposure.
Unlike automated database backups, it is necessary for the system administrator to protect the data
I. Configure environment variables:
Softe Version:tomcat5.0.12/mysql4.1.7/mysql_driver---Mysql-connector-java-3.1.4-beta-bin.jar
MySQL driver can be downloaded from www.mysql.com official website
Path:
Tomcat5 in D:\MYWEB\TOMCAT5;
MySQL in
A string can be used to represent any value, so it is one of the most basic types. We can use string types to store binary data such as images or sounds, or to store data that is compressed with gzip. The following table describes the various string
MySQL 5.1 supports triggers as well as custom function interface (UDF) features, and can implement Memcache Automatic Updates if combined with Libmemcache and memcached functions for MySQL. Simply record the installation test steps.
Installation
MySQL supports the two main table storage format Myisam,innodb, last month when doing a project, first used InnoDB, the result is particularly slow, 1 seconds can only insert 10. Later replaced by the MyISAM format, a second inserted tens of
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