What you will learn 1. Software installation and server settings. 2. (Optional, but highly recommended) Use the graphical interface software Navicat for SQL 3. Database Basics
4.MySQL database management system
Software Installation MySQL download link: MySQL Download the first one and unzip it. My directory is C:\Users\Public\MySQL, and then configure my.ini in this folder Next, start MySQL and operate in cmd cd C:\Users\Public\MySQL\bin mysqld --initialize --console There is an initial password after execution ... 2019-03-31T01:49:30.418915Z 5 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: P7Lh=6hEkl0! ... P7Lh=6hEkl0! is the initial password, then you can install and start mysqld install net start mysql The installation is now successful and you can log in to MySQL. mysql -h hostname -u username -p Parameter Description:
The MySQL command to log in to the local machine is simpler: mysql -u root -p Simply enter your previous password. If successful, Welcome to the MySQL monitor... will be displayed. alter user user() identified by "123456"; Next we install navicat Basics Database definition: The term database is used in many ways, but from the SQL perspective, a database is a collection of data stored in some organized manner. Or a container to hold organized data. Relational database: Simply put, a relational database is a database composed of multiple two-dimensional row and column tables that can be connected to each other. Two-dimensional table: that is, data table. In the relational model, the data structure is represented as a two-dimensional table, and a relation is a two-dimensional table. The first row in the table is usually called the attribute name. Each tuple and attribute in the table is indivisible, and the order of the tuples is irrelevant. Row: The data in the table is stored in rows, and each saved record is stored in its own row. A row is a record in a table. Primary key: A column (or set of columns) in a table whose value uniquely identifies each row in the table. Without a primary key, it is extremely difficult to update or delete specific rows in a table. View: A view is a virtual table. Unlike tables, which contain data, views contain only queries that dynamically retrieve data when used. Using views can simplify complex SQL query statements. Stored procedure: Simply put, a stored procedure is one or more SQL statements saved for later use. Think of them as batch files, although their use is not limited to batch processing. Stored procedures can simplify operations and facilitate the management of changes, etc. The above is what I introduced to you: MySQL from getting started to giving up - detailed installation and integration. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: The solution to the page not refreshing after the route changes after react jumps
>>: VMware vsphere 6.5 installation tutorial (picture and text)
Preface As we all know, everything in Linux is a ...
Core code -- Below I will demonstrate the impleme...
https://docs.microsoft.com/en-us/windows/wsl/wsl-...
Table of contents Preface Enumerable properties I...
I have always wondered why the MySQL database tim...
When we edit a layout, we usually use horizontal ...
1. Top-level usage 1. Install cnpm npm i -g cnpm ...
This article shares the specific code of Vue usin...
Today, due to project requirements, js is needed t...
This article example shares the specific code of ...
Today, the company project needs to configure doc...
In MySQL, create a new table with three fields, i...
View Docker Network docker network ls [root@maste...
Install MySQL 8.0 docker run -p 63306:3306 -e MYS...
Why do we need to summarize the browser compatibi...