当前位置:网站首页>MySql installation and configuration super detailed tutorial and simple method of building database and table
MySql installation and configuration super detailed tutorial and simple method of building database and table
2022-07-31 01:37:00 【Wanli Yangtze River Snow】
About the author: a new star creator in the C/C++ field, struggling for C++ and java
Personal homepage: Homepage
?? Series of columns: MySql made easy
?? Recommend a mock interview, brushing questionsArtifact??Register for free exams
??Foreword
Database is a must-have technology for a programmer, so I will share my
MySqllanguage learning path.This blog will share the installation of MySql from zero to one, configuring environment variables, building databases and tables, etc. The subsequent additions, deletions, changes, views, indexes, transactions, andJDBCtechnologies will also be included in this column one after another.Update, interested friends can subscribe for free~
Article directory
- One, MySql installation and environment configuration
- Second, tools for building databases
- Three, the establishment of the database and the establishment of the table
- Conclusion
I. MySql installation and environment configuration
MySql download and installation
- Official website link, click to jump MySQL download
- Click the icon "Chinese" after the jump link

- Click on
GPL
Continue to follow the icon and click
clickdownload
- This style is after the download is complete, double click to start the download

- Be sure to remember the password you set when downloading, and click
nextfor other things
Configuring environment variables
Check if you can log in to the database first
- Open the
bindirectory where MySql is located, entercmdto enter the black window
- Enter
mysql -u root -p, then enter the password you set during installation, which is consistent with the picture, indicating success
Configuring environment variables
- Copy MySql's
binpath - Find the environment variable of the system, enter the copied bin path after creating a new one and confirm it

Second, tools for building databases
- You can search and download
navicat12018_premium_cs_x64in CSDN resources, or private letter bloggers can also - Test connection to database after download is complete

- If the connection fails, refer to the solution below
li>
Three, the establishment of the database and the establishment of the table
Database creation
- First connect to MySql database, the interface is as follows:

- Click New Query and enter
create database if not exists database name, the effect is as follows:
Table Creation
Create a new query again and write the code:
create table if not exists myTable(
name varchar(20) primary key,
age int not null
)
This is just a brief demonstration of the establishment of the table. Subsequent articles will introduce the knowledge points such as table constraints in detail
- The effect is as follows:

Conclusion
Such a solid tutorial, I haven't collected it to build a MySQL environment!If the Navicat tool is missing, you can privately message the blogger to get it. If you have any questions during the installation process, you can also ask me to answer them. Finally, it is not too much to ask for a three-link support~
Let me introduce myself first. The editor graduated from Jiaotong University in 2013. I worked in a small company and went to big factories such as Huawei and OPPO. I joined Ali in 2018, until now.I know that most junior and intermediate java engineers want to upgrade their skills, they often need to explore their own growth or sign up to study, but for training institutions, the tuition fee is nearly 10,000 yuan, which is really stressful.Self-learning that is not systematic is very inefficient and lengthy, and it is easy to hit the ceiling and the technology stops.Therefore, I collected a "full set of learning materials for java development" for everyone. The original intention is also very simple. I hope to help friends who want to learn by themselves but don't know where to start, and at the same time reduce everyone's burden.Add the business card below to get a full set of learning materials
边栏推荐
- Rocky/GNU之Zabbix部署(2)
- 孩子的编程启蒙好伙伴,自己动手打造小世界,长毛象教育AI百变编程积木套件上手
- Teach you how to configure Jenkins automated email notifications
- Artificial Intelligence and Cloud Security
- MySQL (6)
- Bert usage and word prediction based on Keras_bert model
- VS warning LNK4099: No solution found for PDB
- TiCDC 架构和数据同步链路解析
- typescript13 - type aliases
- In Google Cloud API gateway APISIX T2A and T2D performance test
猜你喜欢

数字图像隐写术之JPEG 隐写分析

tkinter模块高级操作(二)—— 界面切换效果、立体阴影字效果及gif动图的实现

The Meta Metaverse Division lost 2.8 billion in the second quarter, still want to continue to bet?Metaverse development has yet to see a way out

4G通信模块CAT1和CAT4的区别

ECCV 2022丨轻量级模型架构火了,力压苹果MobileViT(附代码和论文下载)

软件测试要达到一个什么水平才能找到一份9K的工作?

typescript13 - type aliases

MySQL高级-六索引优化

GCC Rust获批将被纳入主线代码库,或将于GCC 13中与大家见面

1782. 统计点对的数目 双指针
随机推荐
The level of ShardingSphere depots in actual combat (4)
Jetpack Compose学习(8)——State及remeber
Centos 7.9安装PostgreSQL14.4步骤
解析云原生消息流系统 Apache Pulsar 能力及场景
VSCode插件:嵌套注释
网站频繁出现mysql等数据库连接失败等信息解决办法
进程间通信学习笔记
87. 把字符串转换成整数
查看zabbix-release-5.0-1.el8.noarch.rpm包内容
MySQL (6)
TiKV主要内存结构和OOM排查总结
tensorflow与GPU版本对应安装问题
kotlin中函数作为参数和函数作为返回值实例练习
华为od 转骰子 js
PDF 拆分/合并
太阳能板最大面积 od js
力扣每日一题-第46天-704. 二分查找
link与@import的区别
勾股数元组 od js
ROS Action communication