当前位置:网站首页>MySQL installation
MySQL installation
2022-07-03 06:47:00 【Numerous and falling】
List of articles
1. download
- Download address :
- Choose the version you want to download

2. install
Unzip the package to the specified folder

Add a file under the installation directory my.ini
[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=D:\mysql-5.7.26-winx64
# Set up mysql Database data storage directory
datadir=D:\mysql-5.7.26-winx64\data
# Maximum connections allowed
max_connections=202
# 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=INNODB
3. initialization mysql
- stay …\mysql-5.7.26-winx64 Create a new one in the directory data Catalog
- stay …\mysql-5.7.26-winx64\bin Execute the following command under the directory
mysqld --initialize-insecure --console
Possible problems
Because we couldn't find it MSVCP120.dll, Can't continue executing code . Re installing the program may fix this problem .

resolvent : install Microsoft Visual C++ 2013 Redistributable_x64
Official website
gitee

hold mysql Add to system services , stay …\mysql-5.7.26-winx64\bin Run in directory
mysqld install

stay windos Of cmd Lower installation mysql Report errors :
The information is as follows :
Install/Remove of the Service Denied
terms of settlement :
open cmd.exe Program time selection “ Open as administrator ”.
start-up / stop it mysq
net start mysql
net stop mysql

Configure environment variables
Right click on my computer -> attribute -> Advanced system setup -> environment variable ->path-> edit D:\mysql-5.7.26-winx64\bin
Use mysql -uroot, You can enter the database command line interface without entering a password

Set your own password
set password = password(' password ')

Use exit after , Use mysql -uroot -p Connect

4. uninstall mysql
边栏推荐
- [Code] if (list! = null & list. Size() > 0) optimization, set empty judgment implementation method
- golang操作redis:写入、读取hash类型数据
- Example of joint use of ros+pytoch (semantic segmentation)
- Pytorch exercise items
- scroll-view指定滚动元素的起始位置
- 每日刷題記錄 (十一)
- 2022-06-23 VGMP-OSPF-域間安全策略-NAT策略(更新中)
- How to scan when Canon c3120l is a network shared printer
- UTC时间、GMT时间、CST时间
- Request weather interface format, automation
猜你喜欢

JMeter linked database

2022 East China Normal University postgraduate entrance examination machine test questions - detailed solution

Local rviz call and display of remote rostopic

scroll-view指定滚动元素的起始位置

Time format record

Golang operation redis: write and read kV data

SQL implementation merges multiple rows of records into one row

2022 CISP-PTE(三)命令执行

Use selenium to climb the annual box office of Yien

Numerical method for solving optimal control problem (I) -- gradient method
随机推荐
JMeter linked database
JMeter performance automation test
2022 - 06 - 23 vgmp - OSPF - Inter - Domain Security Policy - nat Policy (Update)
vmware虚拟机C盘扩容
golang操作redis:写入、读取kv数据
Hands on redis master-slave replication, sentinel master-slave switching, cluster sharding
冒泡排序的简单理解
DBNet:具有可微分二值化的实时场景文本检测
【code】偶尔取值、判空、查表、验证等
2022 East China Normal University postgraduate entrance examination machine test questions - detailed solution
HMS core helps baby bus show high-quality children's digital content to global developers
What are the characteristics and functions of the scientific thinking mode of mechanical view and system view
ruoyi接口权限校验
pytorch练习小项目
Selenium ide installation recording and local project maintenance
远端rostopic的本地rviz调用及显示
UTC时间、GMT时间、CST时间
IC_EDA_ALL虚拟机(丰富版):questasim、vivado、vcs、verdi、dc、pt、spyglass、icc2、synplify、INCISIVE、IC617、MMSIM、工艺库
Jenkins
Request weather interface format, automation