Mysql5.5 set up master-slave replication (setupmaster-slavereplication) bitsCN.com
Mysql5.5 set up master-slave replication)
1. notes:
(1) the master/slave server versions must be consistent.
(2) to change the root password, do not use the initial
MySQL Query Optimization: connection query sorting limit (join, orderby, limit statement) bitsCN.com
MySQL Query Optimization: connection query sorting limit (join, order by, limit statements)
I don't know if anyone has encountered such a
Mybatis queries handle bitsCN.com errors when passing parameters
Mybatis queries handle errors when passing parameters
Your own database is a mysql database, managed using mybatis, and the java background is the spring Framework,
Console:
1
MySQL command line to enable slow. log failed to solve bitsCN.com
An error occurred while enabling slow. log on the MySQL command line.
You need to check slow. log, but I found that slow. log has not been written for a long time.
Check the server
When the text field is updated, rowsiz1_large reports bitsCN.com
Cause:Group buying Development report indicates an error occurred during the update.
The update SQL statement is as follows:
UPDATE table_name d SET
Use mysqlhotcopy in CentOS to regularly back up MySQL database (MyISAM storage engine) CentOS
BitsCN.com
Use mysqlhotcopy to regularly back up MySQL databases in CentOS (MyISAM storage engine)
Comparison between mysqlhotcopy and mysqldump:
The
PAIP. MYSQL database comparison bitsCN.com
PAIP. MYSQL database comparison
At the beginning, I used CLI to export the results. The SQL statements are the same line and cannot be compared ..
Use PHPMYADMIN to export the SQL statement. each data
"MySQL" UPDATE-replace part of the field bitsCN.com
To replace part of a field, use the update statement:
UPDATE table name SET field name = REPLACE (REPLACE the previous field value, 'replace the previous keyword ', 'replace the previous keyword')
Mysql returns an error when multiple timestamp entries exist in a single table #1293 bitsCN.com
Mysql single table multiple timestamp error #1293-Incorrect table definition; there can be only one TIMESTAMP column with C solution
When multiple
Case sensitivity of MySQLamp; amp; EntityFrameworkCodeFirst data table bitsCN.com
I used to use MySQL on Linux. for debugging convenience, I installed MySQL Windows 5.6.10 on the development machine. when I used Entity Framework Code First to
Some basic msyql operations bitsCN.com
Mysql-uroot-p // mysql -- user root -- password (try not to write)
Server/client, starts or disables the service in the process service, net start service name
Character set
Several operation
Mysql execution status analysis showprocesslist bitsCN.com
Mysql execution status analysis show processlist
Execution Status Analysis
L Sleep status
N usually indicates that the resource has not been released. if it is through the connection pool,
Mysql SQL statements to view table information bitsCN.com
Mysql SQL statements to view table information
View table field information
Java code
SELECT column_name AS 'column name ',
Data_type AS 'data type ',
Character_maximum_length AS
How to use the MySQL commercial backup tool bitsCN.com
How to use the MySQL commercial backup tool
Users who bought the commercial version can use commercial backup tools to back up the MYSQL database. I will demonstrate how to back up and restore
Primarykeyandkeyandindex bitsCN.com in the mysql database
Primary key and index in the mysql database
Mysql databases have many keys, such as foregin and primary key.
[SQL]
And the key, this key, I feel a little strange, as shown below:
MySQL5.5 stored procedures support the limit variable bitsCN.com
MySQL5.5 stored procedures Support limit variablesWhen reviewing the developed SQL statements, they found a stored procedure that was pieced together with a dynamic SQL (CONCAT ()
Various Mysql time functions bitsCN.com
Various time functions of Mysql
Mysql has rich time functions.
1. filtering condition in mysql Query time where the second is not 0
SQL code
SECOND (t. file_time)
2. current time
SQL code
Now ()
3. one day
Application and syntax of MySQLCreateTable statement bitsCN.com
MySQL Create Table statement application and syntax
The basic syntax of the create table statement in MySQL is:
CREATE [TEMPORARY] TABLE [if not exists] tbl_name [(create_definition,
Transaction isolation level and transaction processing bitsCN.com of InnoDB storage engine in MySQL
Transaction isolation level and transaction processing of InnoDB storage engine in MySQL
1. when the transaction is in progress, the set
MYSQL backup recovery (implemented in PHP) bitsCN.com
How to restore a MYSQL backup
Code will be attached at the end of the article, but we recommend that you carefully read it from the beginning. The code is not important, and the implementation
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