Mysql8.0.25 decompressed installation tutorial (Windows)
1. Download from the official website
Address: https://dev.mysql.com/downloads/mysql/ Select 8.0 Version 25
2. Software decompression
2.1 selection of location
One thing to note: try to avoid Chinese in the decompression path, otherwise an error will be reported later.
3. Configuration file
3.1 create my INI file
Change the text suf ...
Posted by amitshah on Fri, 31 Dec 2021 00:26:55 +0100
How to understand and use MySQL index correctly and efficiently
summary
Index is a data structure used by the storage engine to quickly find records. Through the rational use of database index, the access performance of the system can be greatly improved. Next, it mainly introduces the index types in MySql database and how to create a more reasonable and efficient index skills.
Note: This is mainly for ...
Posted by macattack on Thu, 30 Dec 2021 18:43:09 +0100
Add, delete, modify and query advanced level of MYSQL table
4. Query
4.1 aggregate query
4.1. 1 aggregate function
Common operations such as total statistics and average calculation can be realized by using aggregation functions. Common aggregation functions include:
functionexplaincountReturns the number of queried datasumReturns the sum of the queried data. It is not a number. It is meaningles ...
Posted by p0pb0b on Thu, 30 Dec 2021 12:47:28 +0100
MySQL uses regular expressions
Regular expressions are mainly used to query and replace text content that conforms to a certain pattern (rule). They are powerful and flexible. They are often used in very complex queries. Compared with LIKE, the matching rules are very comprehensive.
In MySQL, use the REGEXP keyword to specify the character matching pattern of regular expres ...
Posted by ihsreal on Wed, 29 Dec 2021 10:22:42 +0100
Technology sharing - the disk of the SECONDARY node in MGR in MySQL is full, resulting in the mysqld process being OO m killed
Welcome to the MySQL technical articles shared by the great SQL community. If you have any questions or want to learn, you can leave a message in the comment area below. After seeing it, you will answer itIn the MGR test, after artificially creating the disk full problem, the node is OO m killedProblem descriptionIn MySQL 8.0 26 vs GreatSQL 8.0 ...
Posted by Stryves on Wed, 29 Dec 2021 05:53:15 +0100
mysql character set -- mysql from introduction to mastery (3)
Because the character set is related to the comparison rule, the comparison rule will be automatically transformed into the corresponding one after modifying the character set. On the contrary, the character set will also change after modifying the comparison rule.
mysql> SHOW VARIABLES LIKE 'character_set_server';
+----------------------+- ...
Posted by cronus on Wed, 29 Dec 2021 02:38:59 +0100
User login project phase III - user login
preface
In the previous two issues, we completed the creation of Mysql database tables and the design of Html interface. In this issue, we will complete the last part - the design of user login function.
It mainly uses: JDBC, Servlet, Java, object-oriented and other knowledge
Its basic principle: after the login interface is submitted, a ser ...
Posted by jaddy on Wed, 29 Dec 2021 02:31:37 +0100
MySQL JSON data type usage
Relational structured storage has some disadvantages, because it needs to define all columns and their corresponding types in advance. However, in the process of business development, it may be necessary to expand the description function of a single column. At this time, if the JSON data type can be used well, the boundary between the storage ...
Posted by AbiusX on Tue, 28 Dec 2021 20:14:03 +0100
Installing Archiver Appliance under CentOS7
1, Software installation
1.1 MySQL installation
Download the installation package mysql-8.0 23-1. el7. x86_ 64.rpm-bundle. tar. gz. After decompression, the installation process shall be carried out in the following order: (1) mysql-community-common[dongxw@localhost mysql]$ sudo rpm -ivh mysql-community-common-8.0.23-1.el7.x86_64.rpm
(2) My ...
Posted by vishal99 on Tue, 28 Dec 2021 18:06:34 +0100
003MySQL performance tuning 007 sub table and partition
1 Introduction
1.1 background
For the InnoDB storage engine, generally, a table corresponds to an FRM file, which saves the table structure and index.
When the amount of data is large (generally more than ten million records), the performance of the database will begin to decline. At this time, you can consider partitioning or table splitting t ...
Posted by Dragoon1 on Tue, 28 Dec 2021 11:17:18 +0100