Today in the company's server above the source code installation mysql-5.1.44 when an error is reported. After configure, make reports the following error:
Make [2]: *** [do_abi_check] Error 1
Make [2]: Leave the directory
Bin/mysql-uroot-hlocalhost-p db53418_teamone
1. If table engine is MyISAM, you only need to modify the folder name under the DATA Directory.2. If your table engine is innodb, you cannot change the folder of the database name! But it is also very
I set up mysql for master-slave replication.
The mysql environment of the two machines is identical
Part 1 test:
Synchronization test for master A and slave B
Create a table lian on B and insert dataMysql> create table lian (a int, B char (10
Create function Time_Span_of_minutes (
Start_day DATETIME,
End_day DATETIME)
RETURNS FLOAT
BEGIN
-- Returns the interval between two periods calculated by minute. It is calculated by the method of approaching each day. The value is calculated by 8
Recently I encountered such a problem. The data retrieved from the database is clearly "", but the program always displays "2011-11-10" during running ". Later, after debugging, we found that JDBC connection and resultset are both East 8 (system
Several principles for data type selection:
1. Smaller is usually better. Select the minimum type that correctly represents the data.
2. Easy to use. Simple types are better than complex types.
3. Avoid NULL. Try to define the field as not
Disable/enable Red hat Firewall
/* Disable the firewall */
Service iptables stop
/* Enable Firewall */
Service iptables start
/* Disable the firewall by default */
Chkconfig iptables off
Authorization method.
For example, if you want
Five configuration parameters that closely affect MySQL Performance
The following articles mainly introduce the five configuration parameters that closely affect MySQL performance. I saw the five configuration parameters that closely affect MySQL
-- Sequence management tableDrop table if exists sequence;Create table sequence (Name VARCHAR (50) not null,Current_value int not null,Increment int not null default 1,Primary key (name)) ENGINE = InnoDB; -- Function for retrieving the current
The insert statement exported by tools is incorrect. The exported result Insert to values (ENTERNO, sequence, sequence, INNO, INTP, INBILLNO, PRODENTERID, PRODLVL, BIGVARIETY, SMALLVARIETY, SPECIFICATION, PIECE, BOXES, PRICE, TOTALAMT, PRODDT,
After mysql is started, log on to mysql as the root user$ Mysql-u root-p > Show variables like 'character % '; # display the code+ -------------------------- + ---------------------------- +| Variable_name | Value |+ -------------------------- + ---
Author: skateTime: 2012/02/17 Mysql records time-consuming SQL statements Mysql records time-consuming SQL statements or SQL statements without indexes in slow log for optimization analysis. 1. mysql slow query log enabled: Mysql slow query logs are
Author: skateTime: 2012/02/16 Mysql memory usage analysis In terms of memory usage, the memory usage of the MySQL database is divided into the following two types: 1. Dedicated thread memory2. Global shared memory 1. Dedicated thread memory In MySQL,
The cause of the problem is very simple. You may not be able to remember it sometimes. MARK. The error message is as follows:Org. springframework. jdbc. uncategorizedSQLException: Hibernate operation: cocould not insert: [com. wondertek. meeting.
When testing machines, you often need to test the absolute values of inset and alert. Therefore, you have written a stored procedure to complete the test. Drop procedure if exists proc_buildata;Tudou @ GyyxCreate procedure proc_buildata (IN
There are many unequal situations in our project. This article briefly analyzes how to optimize it. The table sharding logic here is based on the number of user_name groups in the t_group table.In this case, the index on the user_name field is a bad
Install MySQL in Ubuntu to obtain the C interface created by mysql. h.After a long time in Ubuntu, I finally succeeded in operating MySQL in C. Here I will write down the method and save it for later use. Install MySQL firstCode:Sudo apt-get install
MySQL: ERROR13 (HY000): Can't get stat of problem, but replace load data infile with load data local infile OK! Cause Analysis: From Mysql Chinese manual: For security reasons, when reading text files on the server, the www.2cto.com file must be in
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