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
Show status;Flush status;
View the current connection count show status like 'thread _ % ';Thread_cached: Number of cached threadsThread_running: Number of activated threadsThread_connected: Number of threads currently connectedThread_created: Total
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
Using indexes can improve the query efficiency. Here is an example.
SQL code:
Create table 'person '('Id' int (11) not null AUTO_INCREMENT,'Name' varchar (20) default null,'Birthday' datetime default null,'Isman' int (11) default null,'Salary'
BEGIN
DECLARE deliverstatus, smlen, datacoding, total int;
DECLARE tsid, srcaddr, destaddr, servicetype, smcontent, linkid, sequenceno, recvtime, state, resulttime, extcode, applicationid varchar (50 );
Set total = 0;
While total
Set tsid = '';
Today, we have a unique problem with Mysql garbled characters. In the past, we had to solve it in a hurry. This time I really can't stand it. Every time, it's all confused. I decided to make a good exploration and read a lot of materials and blogs
MySQL stored procedure:
MySQL Stored Procedure
Stored procedures are an important function of database storage. However, MySQL did not support stored procedures before MySQL 5.0, which greatly compromises the application of MySQL. Fortunately,
Abstract: The difference between Oracle database and MySQL database is what we will introduce in this article. Next we will introduce this part of content, hoping to help you.
Differences between Oracle and MySQL:
1. in Oracle, select *
MySQL-master1: 192.168.72.128 MySQL-master2: 192.168.72.129 OS Version: CentOS 5.4MySQL version: 5.5.9 (the master and slave servers with master-slave replication have the same mysql version or the master version is later than the slave version) 1.
MYSQL 5.1 and later versions support the scheduled execution (event) function, which is similar to linux crontab. First, check your MSYQL version and the SQL statement for querying version information: Select VERSION ()After confirming the version
Mysql encounters horizontal table sharding when the data volume is large. 1. Split tables based on business attributes This table sharding algorithm is roughly modulo, hash, md5, and so on. If you want to split a table using a business attribute and
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
1. Environment
OS: Win 2003 Server (X86)DB: MySQL 5.1.30-community-log
2. Problem
The number of handles occupied by the MySQL Server is too large, and the consumption process of the handle is faster than the release speed. Some other applications
Multi-table join query. If the relationship between tables is clear and the structure is simple, creating a view SQL code CREATE VIEW view_name AS SELECT t1.xxx, t2.xxx, t3.xxx FROM (table1 t1 inner join table2 t2 ON t1.fid = t2.fid) inner join
When we use a query statement, we often need to return the first few or a few rows of data in the middle. What should we do at this time? Don't worry, mysql already provides us with such a function.SELECT * FROM table LIMIT [offset,] rows | the rows
Shell code ###################################### ############## Begin configuration for mysql Performance Improvement #################### ################################# skip-name-resolve # forbidden mySQL performs DNS resolution on external
Configure the password of an external access accountLog on to mysql locallyJava code mysql-uroot-p execute Java code grant all on *. * to rails @ 'client _ ip' identified by 'Password' with grant option; example: all LAN clients can access the Java
The data table records the bibliography used for user verification. Now I want to retrieve all the bibliography and use DISTINCT and group by to get the expected results, but I found that the returned results are arranged differently, distinct is
Mysql JDBC DriverTwo mysql drivers are commonly used. One is the mysql Driver provided by the gjt (Giant Java Tree) organization. The JDBC Driver name (JAVA class name) is org. gjt. mm. mysql. for Driver details, see website: http://www.gjt.org/ Or
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.