Preparations: configurations of the master and slave machines. Binlog-do-dbrepl: the database to be synchronized. If no database exists, this parameter can be set repeatedly to synchronize all databases. This parameter may cause problems and is not
Record a simple master-slave synchronization setting procedure for mysql for future use.
Record a simple master-slave synchronization setting procedure for mysql for future use.
Installation environment
Centos 1, 5.4
Mysql 5.1.xx is directly
Recently, the website found that the values of some fields were not the expected results. You need to replace the values. You can directly execute the following SQL statement.
Recently, the website found that the values of some fields were not the
When optimizing MYSQL configuration, add skip-name-resolve and check the startup log when restarting MYSQL. Warning Information is found.
When optimizing MYSQL configuration, add skip-name-resolve and check the startup log when restarting MYSQL.
SQL is not commonly used for function summary and transactions, adding or deleting triggers. For more information, see
SQL is not commonly used for function summary and transactions, adding or deleting triggers. For more information, see
SQL does
EXECUTEIMMEDIATE replaces the DBMS_SQLpackage package in Oracle8i.
Execute immediate replaces DBMS_ SQL package in Oracle8i.
It parses and immediately executes dynamic SQL statements or PL/SQL blocks created when they are not running. the
Implementation of time conversion in Oracle in several languages
Implementation of time conversion in Oracle in several languages
Conversion of date and time in c shell perl php: seconds and human readable date scalar localtime and seconds since '00
Summary of SQL query efficiency considerations. For more information, see.
Summary of SQL query efficiency considerations. For more information, see.
1. the query conditions are accurate.
Ii. SQL logic execution sequence
FROM --> JOIN --> WHERE --
PLSQL format conversion
PL/SQL format conversion
TO_NUMBER (char [, 'format _ model']) character to numeric type
TO_DATE (char [, 'format _ model']) character conversion to date type
Format description: the format of the string to be converted from
How to Use ShrinkUndo tablespace to release overoccupied Space
How to Use Shrink Undo tablespace to release overoccupied Space
Environment:OS: Red Hat Enterprise Linux AS release 4 (Nahant)DB: Oracle Database 10g Enterprise Edition Release 10.2.0.
Sometimes, when we run php, the page prompts CantconnecttoMySQLserveronlocalhost, so we need to refer to the following method to solve the problem.
Sometimes, when we run php, the page prompts Can't connect to MySQL server on 'localhost', so we need
Install MySQL5630 in RPM mode. A. Check whether MySQL and related RPM packages are installed. If yes, remove (rpm-e name ). Install MySQL5.6.30 in RPM Mode
A. Check MySQL and related RPM packages for installation. If any, remove (rpm-e name)
I checked a lot of information on the Internet and found that mysql exception handling information is a list of error numbers. during normal operation, we may want to record more accurate error messages to the log.
I checked a lot of information on
The preceding administrative divisions are divided into three levels by code: province (the last four digits are 0) City (the last two digits are 0) County, and their levels are marked separately, it is easy to query at different levels later.
The
A database index is a structure that sorts the values of one or more columns in a data table. Just like a directory in a book, indexes provide the ability to quickly query specific rows in a row.
A database index is a structure that sorts the values
In SQL Server, we sometimes need to obtain one of multiple duplicate data records. For more information, see the following statement.
In SQL Server, we sometimes need to obtain one of multiple duplicate data records. For more information, see the
The show and set commands are two commands used to maintain the SQL * Plus system variables.
The show and set commands are two commands used to maintain the SQL * Plus system variables.
SQL> show all -- View all 68 system variable values
SQL> show
I have been working on. NET for a while. If I don't know SQL, it must be false, but do I really understand it?
I have been working on. NET for a while. If I don't know SQL, it must be false, but do I really understand it?
Not necessarily, I have
Three types of SQL paging query Stored Procedure Code. For more information, see.
Three types of SQL paging query Stored Procedure Code. For more information, see.
The Code is as follows:
-- Based on MAX (MIN) ID
Create proc [dbo]. [proc_select_id]
Renaming of Foreign keys in Oracle
Renaming of Foreign keys in Oracle
The ORACLE tutorial is: Renaming the foreign key of the Oracle system table.
The Foreign keys in Oracle tables are the means to ensure the integrity of the system's reference,
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