当前位置:网站首页>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 ~
边栏推荐
猜你喜欢

【打开新世界大门】看测试老鸟如何把API 测试玩弄在鼓掌之间

会议OA项目之我的审批功能

Interpreting AI robots' pet raising and leading fashion trends

Chapter 2 VRP command line

Inventory of domestic and foreign project collaborative management software: SAAS and customization become a trend

第2章 VRP命令行

Verilog:阻塞赋值和非阻塞赋值

centos安装mysql8

瀚高数据库最佳实践配置工具HG_BP日志采集内容

4000 多字学懂弄通 js 中 this 指向问题,顺便手写实现 call、apply 和 bind
随机推荐
[QNX Hypervisor 2.2用户手册]9.11 ram(更新中)
Summary of classic problems in Flink production environment
MYSQL入门与进阶(十一)
Flask的创建的流程day05-06之创建项目
centos安装mysql8
Shell编程规范与变量
C and pointer Chapter 3 semantic "trap" 3.5 null pointer is not a string
C语言小项目 -- 通讯录(静态版+动态版+文件版)
Verilog: blocking assignment and non blocking assignment
MySQL operation database data error: fatal error encoded during command execution
【luogu P8352】小 N 的独立集(DP套DP)(性质)
Multi table (Association) query of SQL query data
CentOS install mysql8
HTB-Blue
groupby 方法
明明开发薪资高,为什么我还是选了测试?
TP5.0 小程序用户无需登录,直接获取用户手机号。
Notes on the ninth day
Groupby method
Chapter 09_ Use of performance analysis tools