当前位置:网站首页>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 ~
边栏推荐
- Wechat's crazy use of glide - life cycle learning
- 会议OA之反馈功能
- 【FreeSwitch开发实践】media bug获取通话语音流
- 西瓜书学习第六章---SVM
- Day 5 experiment
- C traps and defects Chapter 2 syntax "traps" 2.6 problems caused by "hanging" else
- PHP process communication series (I) named pipes
- 明明开发薪资高,为什么我还是选了测试?
- Object转String的几种方法
- MySql的安装配置超详细教程与简单的建库建表方法
猜你喜欢
随机推荐
Why did I choose the test when the development salary was high?
【机器人学习】机械臂抓手matlab运动学与admas动力学分析
MySQL - count(字段)、count(主键)、count(1)、count(*)的区别
JVM基础入门篇一(内存结构)
C traps and defects Chapter 3 semantic "traps" 3.4 avoid "couple method"
Redis configuration cache expiration listening event trigger
Multi table (Association) query of SQL query data
金山云回港上市:中国TO B云厂商的港股奔袭
C陷阱与缺陷 第3章 语义“陷阱” 3.7 求值顺序
Trample --- discretization + tree array + difference
13_ue4进阶_蒙太奇动画实现一边走一边攻击
04 | 后台登录:基于账号密码的登录方式(上)
Notes on the ninth day
MySQL 操作数据库数据报错:Fatal error encountered during command execution
C语言程序设计 | 交换二进制数奇偶位(宏实现)
Pgzero aircraft war
带你来浅聊一下,单商户功能模块汇总
C语言基础知识点汇总
融云实时社区解决方案
My approval function of conference OA project





![[opencv] use OpenCV to call mobile camera](/img/66/6207bafbc9696e43da7a60a386a238.jpg)



