1. disable SELinuxvimetcselinuxconfig and change SELINUXenforcing to SELINUXdisabled2. change IOSchedule. for SSD hard disks, you do not need to change echodeadlinesysblocksdaqueuescheduler3. change u...
Vim/etc/selinux/config change SELINUX =
I. maintain partitions for table maintenance. we generally use the following methods: CHECKTABLE, OPTIMIZETABLE, ANALYZETABLE, and REPAIRTABLE. These methods also apply to partitions. Next, we will explain the functions of these products. 1.
ICP is an index optimization technology introduced in MySQL5.6. It can reduce the number of times the table is returned when the where condition is filtered by secondary indexes and the interactions between the MySQLserver layer and the engine layer.
1. the UNION, INTERSECT, and except tunion operators can combine the query results of two or more Select statements into one result set for display, that is, the UNION query is executed. Syntax format of UNION: select_statementUNION [ALL]... 1.
Solve the problem of inserting data into Mysql longblob field bitsCN.com when using mysql, there is a problem that mysql is optimized, mysql longblob field in Mysql 5.5 is 1 MB by default.
To change this issue, pay attention to the following
Description of permission parameters in mysql
1. authorize the case sensitivity of table range columns+ -------------- + ----- + --------- + ---- + ----------- + ------------ +| Column | Host | User | Password | Db | Table_name | Column_name || Case
One of MySQL study notes: bitsCN.com
MySQL has a command line named mysql. enter mysql at the prompt and the following simple prompt will appear:
~ mysqlWelcome to the MySQL monitor. Commands end with ; or /g.Your MySQL connection id is
Mysql ultimate article on modifying character sets bitsCN.com
This afternoon, I have been working on the Mysql character set problem. using command line load to import text file data, Chinese characters are garbled.
So I checked the default
What is the difference between the host name localhost and 127.0.0.1 when connecting to MYSQL? bitsCN.com
If you carefully check the MYSQL permission table, you will find that there are records with the host name localhost and the host name 127.0.0.
MySQL common function bitsCN.com string function CONCAT (str1, str2,...) returns the string generated by the connection parameter. If any parameter is NULL, the return value is NULL.
[SQL]View plaincopy
Mysql> % 20 SELECT % 20 CONCAT ('My, %
Remote connection to MYSQL database bitsCN.com
Local environment:
System: Fedora 20 (Linux should be the same)
Mysql: 5.6.
Remote Environment:
System: windows XP (in virtual machine)
Navcate for mysql: 10.0.111. Local Configuration
After the local
Mysql optimization tips bitsCN.com
A comprehensive technology for mysql optimization, mainly including
A: table design rationalization (in line with 3NF)
B: add an appropriate index. [four types: General index, primary key index, unique index unique,
10 common MySQL errors of PHP developers: bitsCN.com
Recently, I saw an article titled 10 MySQL errors that PHP developers often make. I found that many of the articles are outdated and will become inapplicable over time due to technological changes.
FAQ encountered during MySQL naming. This article uses the Q & A function to answer the FAQ encountered during mysql naming.
Who can connect from there?
You can allow a user to connect from a specific host or a series of hosts. There is one extreme:
MySQL dual-machine hot backup installation and configuration are often used in linux server lvs load balancing and dual-machine hot backup applications. the installation and configuration process is as follows:
1. install MYSQL
# cp mysql-standard-
This article mainly introduces the simplest implementation method for Python to obtain server information. it involves the use skills of the urllib2 Library in Python and has some reference value, for more information about how to use Python to
This article mainly introduces how to use Inotify monitoring file instances in Python. This article provides the implementation code directly. if you need it, refer to Inotify address: Access
#-*-Coding: UTF-8-*-import osimport pyinotifyfrom
This article describes how to implement a simple reversible encryption program in Python. The example analyzes the principle and related skills of implementing reversible encryption in Python, which is of great practical value, for more information
This article mainly introduces how to use PIPE to operate Linux pipelines in Python. This article first explains some pipeline knowledge and then provides sample code, for more information about the communication methods of processes in Linux, see
This article mainly introduces how to write hardware parameters to mysql by executing shell in python. it can read server hardware information and write data to the database, which is of great practical value, for more information about how to write
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