当前位置:网站首页>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
边栏推荐
- Daily question brushing record (11)
- Docker advanced learning (container data volume, MySQL installation, dockerfile)
- ssh链接远程服务器 及 远程图形化界面的本地显示
- How can the server set up multiple interfaces and install IIS? Tiantian gives you the answer!
- Yolov1 learning notes
- C2338 Cannot format an argument. To make type T formattable provide a formatter<T> specialization:
- C2338 Cannot format an argument. To make type T formattable provide a formatter<T> specialization:
- Pytorch exercise items
- What are the characteristics and functions of the scientific thinking mode of mechanical view and system view
- ruoyi接口权限校验
猜你喜欢
【5G NR】UE注册流程
ssh链接远程服务器 及 远程图形化界面的本地显示
ROS+Pytorch的联合使用示例(语义分割)
Read blog type data from mysql, Chinese garbled code - solved
2022 East China Normal University postgraduate entrance examination machine test questions - detailed solution
Machine learning | simple but feature standardization methods that can improve the effect of the model (comparison and analysis of robustscaler, minmaxscaler, standardscaler)
YOLOV3学习笔记
IC_ EDA_ All virtual machine (rich Edition): questasim, vivado, VCs, Verdi, DC, Pt, spyglass, icc2, synthesize, innovative, ic617, mmsim, process library
Summary of remote connection of MySQL
2022-06-23 VGMP-OSPF-域间安全策略-NAT策略(更新中)
随机推荐
利用C#实现Pdf转图片
Scripy learning
The most classic 100 sentences in the world famous works
JMeter linked database
Pytest attempts to execute the test case without skipping, but the case shows that it is all skipped
[C /vb.net] convert PDF to svg/image, svg/image to PDF
golang操作redis:写入、读取kv数据
opencv
HMS core helps baby bus show high-quality children's digital content to global developers
Personally design a highly concurrent seckill system
机器学习 | 简单但是能提升模型效果的特征标准化方法(RobustScaler、MinMaxScaler、StandardScaler 比较和解析)
IC_EDA_ALL虚拟机(丰富版):questasim、vivado、vcs、verdi、dc、pt、spyglass、icc2、synplify、INCISIVE、IC617、MMSIM、工艺库
保险公司怎么查高血压?
Time format record
2022 East China Normal University postgraduate entrance examination machine test questions - detailed solution
Jenkins
Yolov3 learning notes
Heap sort and priority queue
These two mosquito repellent ingredients are harmful to babies. Families with babies should pay attention to choosing mosquito repellent products
SSH link remote server and local display of remote graphical interface