MySQL study Note 5: modify the table bitsCN.com
When creating a table, we will inevitably consider the problem of weeks. Therefore, the table will be modified later.
The alter table statement is required to modify a table.
Modify table name
mysql>
MySQL study Note 7: Basic query bitsCN.com
Reference Table: student
Multi-field query
mysql> select id,name,birth from student;
Query all fields
mysql> select * from student;
Where specified query
Mysql> select * from student where id = 901;
Mysqlslap performs a stress test on mysql, bitsCN.com
Mysql stress testing
Mysqlslap comes with the following parameters:
01
-- Concurrency indicates the number of concurrent threads. multiple threads can be separated by commas. concurrency = 10, 5
MySQL5.6Internals -- hidden index column bitsCN. comMySQL5.6 Internals-hidden index column Louis Hust 0 preface
Today, I wanted to track the new Index Merge in MySQL5.6. as a result, I found a problem during the tracking process, that is, the InnoDB
MySql digital functions library bitsCN.com
MySql digital functions
Abs (N) returns the absolute value of N.
Mysql> select ABS (2 );
-> 2
Mysql> select ABS (-32 );
-> 32
Sign (N) the return parameter symbol (-1, 0, or 1)
Mysql> select SIGN (-32 );
MySQLQueryCache (cache) bitsCN.com
MySQL Query Cache)
SQL code www.bitsCN.com
# Example MySQL config file for medium systems.
# The application is generated by mysql-5.1.37-win32 editing of the my-medium.ini on one machine.
# This is for a system
Mysql: the most practical SQL statement bitsCN.com
Mysql: the most practical SQL statement
1. set the fields in the catalog_product_entity_text table
UPDATE 'catalog _ product_entity_text 'SET 'value' = REPLACE ('value', '0
2. add a column to
Quick de-duplication analysis of mysql tables with tens of millions of levels bitsCN.com quick de-duplication analysis of mysql tables with tens of millions of levels target: existing tables a and B, merge the data in the two tables to the c table.
Mysql batch import SQL file bitsCN.com has 180 SQL backup files, batch import
First create a new main. SQL file, and then write it in the main. SQL file as follows:
Source C:/SQL/1. SQL;
Source C:/SQL/2. SQL;
Source C:/SQL/3. SQL;
....
MySQL Chinese garbled problem solution bitsCN.com
Solve the MySQL classic problem of Chinese garbled MYSQL: (ERROR 1366 (HY000): Incorrect string value: '/xD5/xD4' for column 'name' at row 1) there are a lot of posts on the Internet to solve Chinese
Unbind the local MySQL database from Ubuntu
BitsCN.com
An error occurred when unbinding the MySQL database to the local machine in Ubuntu: In Ubuntu, a MySQL account is added, full database operation permissions are granted, and the database is
Mysql knowledge extension-database/table sharding bitsCN.com
Mysql knowledge expansion-database/table sharding MySQL Internet Oracle enterprise application data structure. database replication can solve the access problem and cannot solve the
Mysql function split learning bitsCN.com
Mysql function split learning mysql 5. * The version does not have the split function, but it will be used in some places. here we will simply record it: set global log_bin_trust_function_creators = 1; 1.
Mysql horizontal segmentation bitsCN.com
In large and medium-sized projects, mysql horizontal segmentation usually splits the database or data table horizontally to reduce the pressure on a single database or table, considering the maximum data size
Mysql (5) operation Time: bitsCN.com
Mysql those things (5) operation time I. time command: SELECT CURDATE (); function: return today's date value in 'yyyy-MM-DD 'format. Command: select curtime (); function: return time in 'hh: MM: SS' format.
Solve the problem of mysql forgetting the password bitsCN.com in windows
Solve the problem of forgetting the password of mysql in windows
What if mysql forgets its password sometimes? I will give a case and explanation! Solve the problem!
MYSQL service details
MYSQL configuration file location (my. cnf configuration file is automatically added by default during installation)
/Etc/my. cnf
MYSQL configuration file storage location (when the configuration file is deleted by mistake, it
Mysql function IF, GROUP_CONCAT using bitsCN.com
Use of the mysql function IF and GROUP_CONCAT
The latest functions used in mysql, record
1. IF (expr1, expr2, expr3) is similar to the common three-object operation. Expr1 is an expression. if TRUE,
Detailed description of each mysql field bitsCN.com
Mysql fields
Description of the text, longtext, and mediumtext fields in mysql
MySQL supports a large number of column types, which can be divided into three types: number type, date and time
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