CentOS7 configuring network installation MySQL

In the process of online MySQL installation, since centos7 was used for the first time, it took a long time to record the successful configuration method. Modify yum source Enter the local machine to modify the yum configuration file Enter yum.com repos. D directory cd /etc/yum.repos.d/ Add the existing Yum source: / etc / yum repos ...

Posted by perrij3 on Sat, 12 Feb 2022 01:48:55 +0100

MySQL master-slave replication

1. Disadvantages and advantages of MySQL single server Disadvantages: Single server If disk problems occur, database data will be lost Backup of a single server makes it difficult to automatically and regularly back up data files if they are backed up locally Single server can not handle high concurrent reading, only a single one, read and ...

Posted by GoodCoffee on Fri, 11 Feb 2022 20:02:41 +0100

MySQL how does a Sql execute

Common operation show databases; Show all databases use dbname; Open database: show tables; show database mysql All tables in; describe user; Display table mysql In database user Column information of table); Connector mysql ‐ h host [database address] - u root [user] - p root [password] - P 3306 Mysql client connection server Verify host ...

Posted by chopps on Fri, 11 Feb 2022 14:30:59 +0100

[summary of common MySQL commands]

mysql commands executed on the mysql client: 1. Use the value "where" to filter and display some selected rows. SELECT * FROM [table name] WHERE [field name] = "whatever"; Display all records with name "Bob" and phone number "3444444". SELECT * FROM [table name] WHERE name = "Bob" AND phone_number = '3444444'; ...

Posted by essjay_d12 on Fri, 11 Feb 2022 12:03:23 +0100

Multi table joint query based on mybatis plus in springboot (implemented without xml annotation)

preface After consulting the official documents of mybatis plus, I found that there were only a few words and no examples for multi table joint query. I had to figure out how to use mybatis plus for multi table joint query. The way of using xml is too redundant, so after checking the use of annotations, we decisively choose to use annotations. ...

Posted by nmarisco on Fri, 11 Feb 2022 10:20:56 +0100

centos7 build LNMP environment - compile and install & yum install - super detailed

1. First understand the difference between compilation and installation and yum installation. Install centos virtual machine under windows, which was written before. Portal~~ Compile and install: It can be installed on demand. It can be installed in whatever directory you want.Parameters can be setYou can install the version you wan ...

Posted by sumitnice@rediffmail.com on Fri, 11 Feb 2022 06:10:03 +0100

mysql interview questions library

mysql Operations and Maintenance Basic Interview Questions and Answers Interview Question 001: Explain the concept and main features of relational databases? Answer: The relational database model refers to the simple binary relationship of complex data structure. All the operations on data are to establish one or more relational tables. T ...

Posted by b1011 on Fri, 11 Feb 2022 05:57:58 +0100

Crazy God said MySql notes

1. Get to know MySQL When I first started learning java last year, I saw the video of crazy teacher. Now I integrate the notes I made before and publish it for your reference javaEE: Enterprise java Web Development Front end (page: display, data) Background (connection point: connect to database JDBC, connect to the front end (control ...

Posted by mustang on Fri, 11 Feb 2022 05:09:30 +0100

Primary key generation strategy

Primary key generation strategy 1. What is a primary key? Primary key, that is, primary key, is the candidate key selected as the unique identification of the row of the table. A table has only one primary key. A primary key can also be called a primary key. A primary key can consist of one field or multiple fields, which are called sing ...

Posted by Ehailey on Fri, 11 Feb 2022 04:04:00 +0100

Mysql (5.7.25) master-slave replication

There are many ways of MySQL master-slave replication. This paper mainly demonstrates the master-slave replication based on binlog. Principle of MySQL master-slave replication (also known as A/B replication) The Master records the data changes in the binary log, that is, the file specified in the configuration file log bin, These records are ...

Posted by micklerlop on Fri, 11 Feb 2022 00:17:12 +0100