Xtrabackup user guide bitsCN.com
1. Introduction to Xtrabackup
A. What is Xtrabackup?
Xtrabackup is a tool used to back up InnoDB data. it supports online hot backup (data read/write is not affected during backup) and is a good alternative to InnoDB
Since Yum installs MySQL, the database's data directory defaults to/var/lib, and it needs to be moved to the/data partition for data security reasons. The steps are as follows:First, turn off Apache and MySQL.
Copy Code code as follows:
When you insert data into a table, you often encounter situations like this:
1, first judge whether the data exists;2, if it does not exist, then insert;3, if present, then update.You can write this in SQL Server:
Copy Code code as follows:
Today, another Linux production environment to build. This is a lot of steps, very cumbersome and have to do things. Although many times, but there are many steps, orders do not remember, every time looking for information is troublesome, so take
# #安装mysql需要的依赖包Yum Install Ncurses-devel libaio-devel-y# #安装编译MySQL需要的软件As the MySQL5.5 and above series of products to be installed in a special way, it is necessary to install the commonly used compiled MySQL tool cmake software package, the
DBI is a module of the Perl script connection database.Perl scripts are more flexible, more powerful, and cross-platform than the shell. The relative executable jar package is much simpler.? 1, download the installation packageDbi-1.631.tar.gzperl
Rotor http://www.linuxidc.com/Linux/2015-06/119354.htmDirectoryPreparatory workOperating EnvironmentConfirm your version of the installationDownload MySQLInstall MySQLPreparing the installation EnvironmentCompiling and installingConfigure
MySQL is divided into development version and stable version (GA), the development version has the latest features, but not stable, nor completely tested, there may be serious bugs, and stable version is a long time testing, eliminate the known bugs,
Recently took time to test on the virtual machine. The latest version of the lamp of the consolidation of the installation, is to consolidate the previous blog, the following content in the CENTOS6.3 (Install minimal desktop and the default
Ever thought in my.cnf write max_connections = 2000You can change the maximum concurrency of MySQL, a command today, found that the server's MySQL maximum number of connections to 151.
console, connecting to MySQL
Copy Code code as follows:
Today you need to update the MySQL version of the Linux server from 5.1 to 5.7, so the following is a record for future installation manuals
Step one: Check the Linux operating system version
Copy Code code as follows:
1, to see if it's a shared table space or a standalone table space.
Copy Code code as follows:
Mysql> Show variables like '%per_table% ';
+-----------------------+-------+
| variable_name | Value |
+-----------------------+------
Because the company requires the latest version of the ZABBIX2.4.4 need the latest version of the system CENTOS7 and the new version of the LNMP environment, so I feel the use of a new version of the environment to build a LNMP system, the
Automatically install MYSQL + APACHE + PHP + ZEND + GD under CentOS5.0-Linux Enterprise Application-Linux server application information. For more information, see the following. Suitable for LINUX with centos yum Function
The experimental system
Register Apache and MySQL as system services in LinuxAdd Apache to the System Service:Under the cp/installation directory/apache/bin/apachectl/etc/rc. d/init. d/httpdModify httpdAdd the following content to the file header:#### Comments to support
MySql command operations
Common MYSQL query commands:
Mysql> select version (); view MySQL version mysql> select current_date (); view MySQL's current date mysql> select version (), current_date (); view the MySQL version number and the current date
Apache1.3.24 + php4.21 + mysql3.23.49 + openssl + mod_ssl + mod_perl + mod_fastcgi note that apache1.3x can use static php module 2. x. x currently only supports dynamic, and does not have a windows version to install the required software package:
Static dynamic compilation in Apache + Php + Mysql applications. Many of you have successfully implemented apache + php + mysql and many articles on the Internet, but I have found that many articles are copied and did not describe the white
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.