(1) To improve the database insert performance Central idea: as far as possible to write data to the database file and reduce the checkpoint operations. The following four configuration entries were modified this time:1) Set the
Brief description of the number of MYSQL backups:Database logical backup \ physical backupPhysical backup is divided into cold backup and Hot Backup
A. Directly copy the data file to A safe place for storage.B. Use MYSQLHOSTCOPY for data shardingC.
Common MySQL operation and maintenance commands
1. Change Password:
Mysqladmin-u root-p password New password
Enter the old password.
2. Export the entire database:
Mysqldump-u username-p Database Name> exported file name
3. Import the database:
Go
Take MySQL5.5 as an example to record the MySQL installation process: 1, open the download of the mysql-5.5.24_win32.msi ready 2, click next: Ready 3, accept, Next: Ready 4, select the installation type, there is "Typical (default) "," Complete
Because I plan to re-install the Mysql database on a test machine, the process may be miserable because I simply unmount the Mysql database and I didn't back up the Mysql database used by Discuz and Redmine.
Fortunately, the Mysql program is
Mysql innodb exception repair experience and innodb experience
A set of mysql databases for testing. mysql 5.1.71 in centos6 is used by default. Later I wanted to try Percona server 5.7, because this library does not have any important data.
It perfectly solves the problem of disabling mysql immediately after it is started (the ibdata1 file is damaged) and mysqlibdata1
Mysql on a server in the data center has been running for a while, and suddenly a strange phenomenon occurs: it cannot
Learning mysql syntax-basics (1), mysql syntax-Basics
PrefaceMysqlMysql syntax-This article uses Navicat Premium (Database Management Tool) to connect to mysql data.This article mainly consists of two parts:1. Create a user, create a database,
MySQL Data File introduction and storage location, mysql data storage location
How can I view the storage location of MySql database physical files?
Use the command line to search:
Show global variables like '% datadir % ';
I am searching for
Detailed process of MySQL5.6.12 compilation and installation by source code
1 download the installation package download tar.gz
Wget http://download.csdn.net/detail/mchdba/7545037
2. install the cmake software package
Yum install cmake-y
3
MySQL-source code compilation and installation
Software Environment
MySQL version: 5.6.19: http://dev.mysql.com/downloads/mysql/5.6.html
Linux version: CentOS-5.10-x86_64: http://mirrors.163.com/centos/5.10/isos/x86_64/CentOS-5.10-x86_64-
Mysql installation diagram
The following is an example of MySQL installation. it is installed using an executable file! Open the mysqlinstallation file mysql-5.0.27-win32.zip, decompress the file, and run “setup.exe. the following interface is
1,: installation package: http: devmysqlcomgetDownloadsMySQL-57mysql-5710targz can wget download, you can also download the local pc web page and then Remote upload to linux. 1 ,:
Package:
Take a note of the xtrabackup code. The two most important processes of xtrabackup binary are backup and prepare. the corresponding functions are xtrabackup_backup_func () and xtrabackup_prepare_func.
Thread model of xtrabackup backup:
1. a log
In general, experienced administrators usually separate the operating system from the application software when deploying the operating system and install the two in different disks or partitions, in addition, there will be a certain amount of
Converting MySQL from MyISAM to InnoDB errors and solutions bitsCN.com was later working on WordPress. at the beginning, I still did not know that WordPress was using the InnoDB data engine, so I built a database in the original database, and I didn'
Mysqlservice cannot be started to solve bitsCN.com
Mysql service cannot be started
Mysql was installed in windows yesterday and cannot be started after the service is installed.
Solution:
1. go to the directory where mysqld.exe is
The installation and configuration process of linuxmysql5.6 version bitsCN.com has been released on the mysql official website since May. The mysql 5.6 series versions have been comprehensively refined; in my personal opinion, the following is a
Innodb modifies the table shared space to an independent space bitsCN.com
Recently, the mysql innodb storage engine was optimized to convert the shared tablespace into an independent tablespace. I didn't think so much at the beginning, so I had to
Mysql backup and recovery details bitsCN.com
Brief description of the number of MYSQL backups:Database logical/physical backupPhysical backup is divided into cold backup and hot backup
A. directly copy the data file to A safe place for storage.B.
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.