Restrict MySQL from server to read-only status (CentOS 6.6)System: CentOS 6.6MySQL version: 5.1.73In the MySQL database, both the read-only state and the Master-slave settings and relationships are involved in data migration and read-only state
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
Analysis and functions of MySql foreign key constraints on CASCADE, set null, RESTRICT, and empty types
MySql foreign key constraints: NULL, RESTRICT, no action, CASCADE, set null, and other types of analysis and interpretation.
Master table,
For content-driven Web sites, the key to the quality of the design is the relational database. In this tutorial, we have built our database using the MySQL relational database management system (RDBMS). MySQL is a popular choice for Web site
. Cascade WaySynchronize update/delete out a matching record of a child table when Update/delete records on the parent table. Set NULL modeSet the column of the matching record on the child table to NULL when the record is update/delete on the
Detailed description of Mysql commands (recommended) and mysql commands
This section describes commonly used MySQL commands, including connecting to the database, changing the password, managing users, operating databases, operating data tables, and
Install mysql in centos5.8
1. Install mysql yum Source
Download the rpminstallation package of mysql's latest yumsource from http://dev.mysql.com/downloads/repo/yum/
wget http://repo.mysql.com//mysql57-community-release-el6-9.noarch.rpm
Use yum
The main table, from the table "MYSQL"//http://my.oschina.net/cart/blog/277624 empty, RESTRICT, no action delete: From the table record does not exist, the main table can be deleted. Delete from table, Main table unchanged update: The primary table
1. Preface
MySQL is a fully networked cross-platform relational database system and a distributed database management system with a client/server architecture. It has the advantages of strong functions, ease of use, convenient management, fast
Mysql commands are often used by everyone, but few of you can sort them out. there are not many projects recently. you can take a moment to summarize the mysql database commands. if you need them, refer to section 1. connect to Mysql.
Format:
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.