当前位置:网站首页>MySQL installation and configuration super detailed tutorial and simple database and table building method
MySQL installation and configuration super detailed tutorial and simple database and table building method
2022-07-29 03:04:00 【Strange elephant】
Author's brief introduction :C/C++ New star creators in the field , by C++ and java In the struggle
Personal home page : The home page of
?? Series column :MySql A little
?? Recommend a simulated interview 、 Brush Title artifact ?? Register for free questions
?? Preface
Database is a necessary skill for a programmer , Then I'll share my
MySqlThe road to language learning . This blog will share MySql Zero to one installation 、 Configure environment variables 、 Database and table building, etc , Subsequent additions, deletions, modifications and checks 、 View 、 Indexes 、 Business 、JDBCTechnology will also be updated in this column , Interested friends can subscribe for free ~
List of articles
- One 、MySql Installation and environment configuration of
- Two 、 Tools for building databases
- 3、 ... and 、 The establishment of database and table
- Conclusion
One 、MySql Installation and environment configuration of
MySql Download and install
- The website links , Click to jump to MySQL download
- Click the icon after the jump link “ chinese ”

- Click on
GPL
Continue to click
Click ondownload
- After downloading, this style , Double click to start downloading

- When downloading, you must remember the password you set , Order other things directly
nextthat will do
Configure environment variables
First, check whether you can log in to the database
- open MySql Where
binCatalog , InputcmdEnter the black window
- Input
mysql -u root -p, Then enter the password you set when installing , Consistent with the picture indicates success
Configure environment variables
- Copy MySql Of
binroute - Find the environment variable of the system , Enter the copied bin Path and confirm

Two 、 Tools for building databases
- Can be in CSDN Search and download
navicat12018_premium_cs_x64, Private bloggers can also - After downloading, test the connection to the database

- If the connection fails , Refer to the solution below

3、 ... and 、 The establishment of database and table
The establishment of database
- First connect MySql database , The interface is as follows :

- Click new query and enter
create database if not exists Database name, The effect is as follows :
The establishment of tables
Create a new query again , Write code :
create table if not exists myTable(
name varchar(20) primary key,
age int not null
)
Here is just a simple demonstration of the establishment of the table , Subsequent articles will introduce table constraints and other knowledge points in detail
- The effect is as follows :

Conclusion
Such a dry tutorial , Don't collect it to build MySQL Environmental Science ! If there is a lack of Navicat Tools can be obtained by private bloggers , If you have any questions during the installation process, you can also ask me for answers , Finally, it's not too much to ask for a three company support ~
边栏推荐
- Summary of common hooks
- Unity 之游戏特效
- Restfulapi - C - add header username and password authentication
- Why did I choose the test when the development salary was high?
- 2. Nodejs -- path (\dirname, \filname), URL URL, querystring module, mime module, various paths (relative paths), web page loading (interview questions *)
- Groupby method
- Shell编程规范与变量
- Verilog:阻塞赋值和非阻塞赋值
- 会议OA之反馈功能
- 三子棋(玩家+电脑)
猜你喜欢

Jinshan cloud returns to Hong Kong for listing: Hong Kong stock rush of Chinese to B cloud manufacturers

2. Nodejs -- path (\dirname, \filname), URL URL, querystring module, mime module, various paths (relative paths), web page loading (interview questions *)

Linux下安装MySQL8.0的详细步骤

Feedback function of conference OA

Verilog: blocking assignment and non blocking assignment

解析Steam教育中的项目式学习创造力

微信为之疯狂的Glide使用——之生命周期学习

Notes on the seventh day

Hangao database best practice configuration tool Hg_ BP log collection content

Apache文件管理自学笔记——映射文件夹和基于单ip多域名配置apache虚拟机
随机推荐
OSPF experiment
Day 10 notes
Day 8 notes
明明开发薪资高,为什么我还是选了测试?
MySQL compound query (important)
Plato Farm在Elephant Swap上铸造的ePLATO是什么?为何具备高溢价?
HTB-Blocky
Alibaba Sentinel - 工作流程及原理解析
MYSQL入门与进阶(十一)
Unable to start after idea installation
MySQL large table joint query optimization, large transaction optimization, avoiding transaction timeout, lock wait timeout and lock table
The origin of Nacos' name
01-sdram: Code of initialization module
cuda-gdb提示:/tmp/tmpxft_***.cudafe1.stub.c: No such file or directory.
13_ue4进阶_蒙太奇动画实现一边走一边攻击
C语言基础知识点汇总
MYSQL入门与进阶(十三)
[opencv] use OpenCV to call mobile camera
.NET 序列化枚举为字符串
算法---粉刷房子(Kotlin)