当前位置:网站首页>MySQL installation tutorial
MySQL installation tutorial
2022-06-25 02:58:00 【Bugxiu_ fu】
Today, I'd like to share some mysql Database installation , I hope that helps ( This database is generally used for small 、 Chinese Enterprises )
1、 Why do we use MySql?
1、mysql Performance is remarkable , Stable service , There are very few abnormal downtime .
2、mysql Open source and no copyright restrictions , Autonomy and low cost of use .
3、mysql Has a long history , The community and users are very active , Have a problem , You can ask for help .
4、mysql The software is small , Easy to install and use , And easy to maintain , Low installation and maintenance costs .
5、mysql Brand word of mouth effect , Make the enterprise use it directly without any consideration .
6、mysql Support multiple operating systems , Offer a variety of API Interface , Support multiple development languages .
2、MySql Installation steps
1、 Official website :MySQL :: MySQL Downloads
https://www.mysql.com/cn/downloads/
2、 After downloading and decompressing , Open the command prompt as an administrator and execute the following code :
Switch to MySql Of bin Catalog cd E:\mysql-5.7.23-winx64\mysql-5.7.23-winx64\bin
3. newly build my.ini Put it in E:\mysql-5.7.23-winx64\mysql-5.7.23-winx64\ Under the folder
The contents of the document are as follows
[mysql] # Set up mysql Client default character set default-character-set=utf8 [mysqld] # Set up 3306 port port = 3306 # Set up mysql Installation directory basedir=E:\mysql-5.7.23-winx64\mysql-5.7.23-winx64 # Set up mysql Database data storage directory datadir=E:\mysql-5.7.23-winx64\mysql-5.7.23-winx64\\data # Maximum connections allowed max_connections=200 # The character set used by the server defaults to 8 Bit coded latin1 Character set character-set-server=utf8 # The default storage engine that will be used when creating a new table default-storage-engine=INNODB4、 install mysql, Execute code mysqld -install
Xiaobian is here because I have already installed , So the prompt here already exists
5、 initialization , Execute code :mysqld --initialize-insecure --user=mysql According to just my.ini File to initialize , Then it will produce a data Folder
After successful initialization, see the following figure
6. start-up MySql service , Execute code net start mysql
7、 Set the password 、mysqladmin -u root -p password New password
8、 Connect to database ,mysql -uroot -p
9、 Verify that you are logged into the database ,show tables;
边栏推荐
- @PostConstruct
- 36岁前亚马逊变性黑客,窃取超1亿人数据被判20年监禁!
- 自动化测试
- automated testing
- C#实现水晶报表绑定数据并实现打印
- Is it safe to open an account in the way of winning 100% of the new bonds
- Jetson nano from introduction to practice (cases: opencv configuration, face detection, QR code detection)
- psql 列转行
- Array - fast and slow pointer in one breath
- Are programmers from Huawei, Alibaba and other large manufacturers really easy to find?
猜你喜欢

小米路由R4A千兆版安装breed+OpenWRT教程(全脚本无需硬改)

random list随机生成不重复数
![Planification du réseau | [quatre couches de réseau] points de connaissance et exemples](/img/c3/d7f382409e99eeee4dcf4f50f1a259.png)
Planification du réseau | [quatre couches de réseau] points de connaissance et exemples

leecode学习笔记-机器人走到终点的最短路径

PyTorch学习笔记(七)------------------ Vision Transformer

UnityShader入门精要——PBS基于物理的渲染

记一次beego通过go get命令后找不到bee.exe的坑

Once beego failed to find bee after passing the go get command Exe's pit

Software testing weekly (issue 77): giving up once will breed the habit of giving up, and the problems that could have been solved will become insoluble.

Lihongyi, machine learning 6 Convolutional neural network
随机推荐
AI服装生成,帮你完成服装设计的最后一步
高数 | 精通中值定理 解题套路汇总
Summary of stack frame in arm assembly
How transformers Roberta adds tokens
Array - fast and slow pointer in one breath
ARM汇编中的栈桢小结
DSPACE设置斑马线和道路箭头
yarn : 无法加载文件 C:\Users\xxx\AppData\Roaming\npm\yarn.ps1,因为在此系统上禁止运行脚本
E - average and median
Easy to use dictionary -defaultdict
ACM. Hj70 matrix multiplication calculation amount estimation ●●
[analysis of STL source code] functions and applications of six STL components (directory)
Migrate Oracle database from windows system to Linux Oracle RAC cluster environment (4) -- modify the scanip of Oracle11g RAC cluster
电脑端微信用户图片DAT格式解码为图片(TK版)
保险也能拼购?个人可以凑够人数组团购买医疗保险的4大风险
目录权限错误导致 Oracle 11g rac 集群数据库无法启动的问题
Use xxl-job to customize tasks and schedule them
Add in cmakelists_ Definitions() function
Lihongyi, machine learning 6 Convolutional neural network
mysql学习笔记--单张表上的增删改查
https://www.mysql.com/cn/downloads/





