Test Reason
Why do I need to do performance testing
Simulate a higher load than the current system to identify performance bottlenecks
Reproduce an on-line exception
Testing different hardware software configurations
Plan
Linux full-schedule task for MySQL _shell small script for MySQL with smaller data size.#!/bin/bashPort= ' 5001 'User= ' admin 'Passwd= ' admin 'Socked= "/data/socket/mysql${port}.sock"backup_file= ' /data/mysql/backup ' #注意磁盘空间情况backup_save_days= '
Semi-synchronous replicationMySQL's master-slave replication only supports asynchronous replication before the 5.5 release, meaning that the main library performs some transactions, regardless of the progress of the library from the repository, this
Reprinted from Http://www.jb51.net/article/40179.htmFirst, mathematical functionsABS (x) returns the absolute value of XBIN (x) returns the binary of X (Oct returns octal, HEX returns hex)CEILING (x) returns the smallest integer value greater than
Accessing the local MySQL database error when installing the lamp environment recentlyThe error is as follows:Warning:mysqli::mysqli (): (hy000/2002): Can ' t connect to local MySQL serverProblem Description:The installation of the MySQL server file
Let MySQL support emoji emoticons, involving wireless-related MySQL database recommendations are in advance with the UTF8MB4 character set.What's the difference between utf8mb4 and UTF8? The original MySQL UTF8 a character up to 3 bytes, while the
The following applies to the [MYSQLD] paragraph
Server-id= 1 This line must be, 1 can be other numbers, generally recommended is the IP last segment.
Log-bin=mysql-bin must have this, to turn on Binlog binary required.
Binlog-do-db=abc
The official description of the three main APIs that PHP connects to the MySQL database server is as follows:http://php.net/manual/zh/mysqli.overview.phpPHP MySQL and mysqli transactionsIn PHP, MYSQLI has already encapsulated the operation of MySQL
First, user management:1. New User:
>create USER name identified by ' Ssapdrow ';
2. Change Password:
>set PASSWORD for Name=password (' FDDDFD ');
3. Rights Management
>show GRANTS for name; View name User Rights
>
Through the previous experience with MySQL, the MySQL configuration problem is excluded, to see if the MSYQL is working properly, by viewing the MySQL data directory in the *.err file (change the extension to. txt) to view Notepad. If too big do not
Source: Persister
Links: http://www.blogjava.net/persister/archive/2008/10/27/236813.html
With the help of explain, you know when to add an index to the table to use the index to find records and make the select run faster. If some problems
Open My.ini under Windows, add:interactive_timeout=28800000wait_timeout=28800000Expert answer: MySQL is a small relational database management system, because of MySQL small size, speed, low total cost of ownership, especially the characteristics of
Objective:In front of the introduction of PHP script to obtain and print output HTML submitted data, this article will introduce the PHP script access query MySQL database.Example code:15PHP6 Header("Content-type:text/html;charset=utf8"); 7 8
Garbled problem caused by MySQL character setMySQL Character set support (Character set supports) has two aspects:1. Character set (Character set)2, sorting Method (Collation).Support for character sets is refined to four levels:1. Servers (server)2.
From:http://dba.stackexchange.com/questions/1558/how-long-is-too-long-for-mysql-connections-to-sleep
20down Votefavorite11
I logged onto my server to check the status of the database and noticed on the that SHOW PROCESSLIST; there
This time in the study of the locomotive storage tutorial, in the "Configure login information and database (MySQL)" Connection, "Server connection Error" "Host ' XXX ' is not allowed to connect to this MySQL server" error. Errors like this are
Source code address: http://code.taobao.org/p/orzdba/src/trunk/[Email protected] servers]# chmod +x orzdbaConfigure your MySQL authentication information in about 160 lines of code: username, password, socket, host, port[Email protected] servers]#
Summary of MySQL database optimization technology configuration skills, mysql database
This article describes how to configure the MySQL database optimization technology. We will share this with you for your reference. The details are as follows:
(1)
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