当前位置:网站首页>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-25 15:14:00 【Slightly cool autumn】
Author's brief introduction :C/C++ New star creators in the field , by C++ and java In the struggle
Personal home page : Cool autumn Homepage
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
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 ~
边栏推荐
- [Android] recyclerview caching mechanism, is it really difficult to understand? What level of cache is it?
- Application of object detection based on OpenCV and yolov3
- SSM Advanced Integration
- VMware Workstation fails to start VMware authorization service when opening virtual machine
- "Ask every day" what is volatile
- Spark002 --- spark task submission, pass JSON as a parameter
- Instance Tunnel 使用
- 记一次Spark报错:Failed to allocate a page (67108864 bytes), try again.
- Use the command to check the WiFi connection password under win10 system
- C, c/s upgrade update
猜你喜欢

Spark提交参数--files的使用

VS2010 add WAP mobile form template

String type time comparison method with error string.compareto

【JS高级】js之正则相关函数以及正则对象_02

【微信小程序】小程序宿主环境详解

"How to use" agent mode

Client error: invalid param endpoint is blank

Leetcode combination sum + pruning

spark分区算子partitionBy、coalesce、repartition

异步fifo的实现
随机推荐
Spark 内存管理机制 新版
海缆探测仪TSS350(一)
redis淘汰策列
给VS2010自动设置模板,加头注释
从 join on 和 where 执行顺序认识T-sql查询执行顺序
Scala111-map、flatten、flatMap
Docker上运行redis以配置文件方式启动,连接客户端报错Error: Server closed the connection
SQL Server forcibly disconnects
Spark AQE
[Nacos] what does nacosclient do during service registration
什么是物联网
【JS高级】js之正则相关函数以及正则对象_02
[C topic] Li Kou 88. merge two ordered arrays
Spark DF增加一列
Sublimetext-win10 cursor following problem
npm的nexus私服 E401 E500错误处理记录
Scala110-combineByKey
Maxcompute SQL 的查询结果条数受限1W
Reprint ---- how to read the code?
Detailed explanation of lio-sam operation process and code