1. Full backup and incremental backup 1.1 full-scale backupFull-volume data is all the data in the database, and a full backup is the backup of all the data in the database.Back Up all libraries:mysqldump -uroot -p123456 -S /data/3306/mysql.sock -F -
How to configure MySQL database server on CentOS
BitsCN.com accidentally found CentOS Professional Forum, remember: http://www.centospub.com
As a result, the initial learning configuration
This environment:
CentOS system,
Mysql-server (version
MySQL常用指令,java,php程序员,数据库工程师必备。程序员小冰常用资料整理MySQL common commands (for reference)The most common display commands are:1. Display the list of databases.show databases;2. Display the data table in the library:Use MySQL;Show tables;3, display the
MySQL row-level lock, table-level lock, page-level lock details page-level: engine BDB.
Table-level: engine MyISAM, which is interpreted as locking the entire table and reading at the same time.
Row-level: engine INNODB, locking a single row of
1. download MySql
1. download MySql
Open http://www.mysql.com/downloads/mysql/#downloads download in browser
My downloaded version is Red Hat 5 version of http://www.mysql.com/downloads/mirror.php? Id = 407552
Upload the file to the server, or
How to configure MySQL database server on CentOS
This environment:
CentOS system,
Mysql-server (version forgot, because it was installed using yum)
The process is as follows (reprinted, according to detailed installation requirements, slightly add
When the database is in use, the default binlog is kept in one file (about 1.1G), resulting in a very large file, so you may need to delete some binlog log files when necessary:
To delete a log file:
Mode one:
[Root@master-mysql data]# grep-e
MySQL row-level locks, table-level locks, page-level locks, mysql details
Page Level: Engine BDB. Table-level: Engine MyISAM, which is interpreted as locking the entire table. It can be read at the same time but cannot be written at the row level.
Inadvertently also found CentOS professional forum, remember: http://www.centospub.com
So, the beginning of the learning configuration
This environment:
CentOS System,
Mysql-server (version forgotten, because it was installed using Yum)
Process
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.