当前位置:网站首页>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 ~
边栏推荐
- Inventory of domestic and foreign project collaborative management software: SAAS and customization become a trend
- 13_ue4进阶_蒙太奇动画实现一边走一边攻击
- C traps and defects Chapter 3 semantic "traps" 3.3 array declaration as parameters
- C traps and defects Chapter 3 semantic "traps" 3.2 pointers to non arrays
- Engineering boy: under 20 years old, ordinary but not mediocre
- Trample --- discretization + tree array + difference
- R language error: compilation failed for package '****‘
- C陷阱与缺陷 第3章 语义“陷阱” 3.7 求值顺序
- [opencv] use OpenCV to call mobile camera
- SOA(面向服务架构)是什么?
猜你喜欢
随机推荐
Plato Farm在Elephant Swap上铸造的ePLATO是什么?为何具备高溢价?
Typescript学习(一)
HTB-Blocky
服务器运行管理制度
[QNX hypervisor 2.2 user manual]9.11 RAM (under update)
Apache文件管理自学笔记——映射文件夹和基于单ip多域名配置apache虚拟机
Analysis of OWT server source code (III) -- video module analysis of mixer in
What is SOA (Service Oriented Architecture)?
sqlilabs less-32~less-33
[opencv] use OpenCV to call mobile camera
Li Shuo, vice president of Baidu: it's a good thing that China's labor costs rise with the support of digital technology
从零开始实现lmax-Disruptor队列(六)Disruptor 解决伪共享、消费者优雅停止实现原理解析
4000 多字学懂弄通 js 中 this 指向问题,顺便手写实现 call、apply 和 bind
PHP process communication series (I) named pipes
Notes on the seventh day
「PHP基础知识」输出圆周率的近似值
MYSQL入门与进阶(十四)
明明开发薪资高,为什么我还是选了测试?
MySql的安装配置超详细教程与简单的建库建表方法
01-sdram: Code of initialization module









