当前位置:网站首页>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;
边栏推荐
- Wechat applet obtains the parameters carried after scanning the QR code
- Enlightenment of using shadergraph to make edge fusion particle shader
- 用向量表示两个坐标系的变换
- 把 Oracle 数据库从 Windows 系统迁移到 Linux Oracle Rac 集群环境(1)——迁移数据到节点1
- Error log format and precautions
- nacos实践记录
- Are programmers from Huawei, Alibaba and other large manufacturers really easy to find?
- Introduction to CUDA Programming minimalist tutorial
- PSQL column to row
- 爱
猜你喜欢

left join on和 join on的区别

Are programmers from Huawei, Alibaba and other large manufacturers really easy to find?

Expressing the transformation of two coordinate systems with vectors

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

Xiaomi routing R4A Gigabit version installation feed+openwrt tutorial (the full script does not need to be hard modified)

单例的饥饿、懒汉模式案例

消息称一加将很快更新TWS耳塞、智能手表和手环产品线

Random list random generation of non repeating numbers

Before the age of 36, Amazon transgender hackers were sentenced to 20 years' imprisonment for stealing data from more than 100million people!

Once beego failed to find bee after passing the go get command Exe's pit
随机推荐
Call system function security scheme
Add in cmakelists_ Definitions() function
Mall project pc--- product details page
centos7.3修改mysql默认密码_详解Centos7 修改mysql指定用户的密码
VSCode中如何实现点击DOM自动定位到相应代码行
Use xxl-job to customize tasks and schedule them
Tell you about mvcc sequel
在Microsoft Exchange Server 2007中安装SSL证书的教程
Getting started with unityshader - Surface Shader
Are programmers from Huawei, Alibaba and other large manufacturers really easy to find?
Migrate Oracle database from windows system to Linux Oracle RAC cluster environment (1) -- migrate data to node 1
Insurance can also be bought together? Four risks that individuals can pool enough people to buy Medical Insurance in groups
Once beego failed to find bee after passing the go get command Exe's pit
mysql学习笔记--单张表上的增删改查
记一次beego通过go get命令后找不到bee.exe的坑
计网 | 【四 网络层】知识点及例题
20 years ICPC Macau station L - random permutation
It is said that Yijia will soon update the product line of TWS earplugs, smart watches and bracelets
Centos7.3 modifying MySQL default password_ Explain centos7 modifying the password of the specified user in MySQL
Wechat applet obtains the parameters carried after scanning the QR code
https://www.mysql.com/cn/downloads/





