当前位置:网站首页>MySQL installation, Windows version
MySQL installation, Windows version
2022-07-05 12:12:00 【ziyi813】
MySql install
Download address :
https://downloads.mysql.com/archives/community/
Unzip to the installation directory , Configure environment variables
MySql catalogue
bin Catalog
Some executable files , Such as mysql.exe, mysqld.exe, mysqlshow.exe
docs Catalog
mysql Document resource directory
Data Catalog
The file directory of the database , Store database and log files
After logging in, you can use SHOW GLOBAL VARIABLES LIKE “%Datadir%”; see Data Directory location .
include Catalog
Store some header files , Such as mysql.h , mysql_ername.h
lib Catalog
Core library files
share Catalog
For storing character sets , Language and other information
my.ini file
my.ini yes MySql The default configuration file , In general , Just modify my.ini The content in the configuration file can be used to MySql To configure .
MySql Initialization information of
- 1、 Initialize temporary password
mysqld --initialize -user=mysql --console
2、 install mysql service
mysqld --install
3、 start-up mysql service
net start mysql
4、 Sign in mysql, Need a password
mysql -uroot -p
5、 modify root User password
ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘123456’
6、 modify root User permissions
create user ‘root’@’%’ IDENTIFIED WITH mysql_native_password BY ‘123456’
MySql The configuration file my.ini
[mysqld]
# Set port
port = 3306
# Character set
character-set-server = utf8
# The default storage engine that will be used when creating a new table
default-storage-engine = INNODB
[mysql]
# Set up the client Default character set
default-character-set = utf8
[client]
# Set up msql The default port when the client connects to the server
port=3306
default-character-set = utf8
边栏推荐
- 1. Laravel creation project of PHP
- Recyclerview paging slide
- The most comprehensive new database in the whole network, multidimensional table platform inventory note, flowus, airtable, seatable, Vig table Vika, flying Book Multidimensional table, heipayun, Zhix
- Application of a class of identities (vandermond convolution and hypergeometric functions)
- 什么是数字化存在?数字化转型要先从数字化存在开始
- Complete activity switching according to sliding
- [yolov5.yaml parsing]
- pytorch-softmax回归
- liunx禁ping 详解traceroute的不同用法
- The solution of outputting 64 bits from printf format%lld of cross platform (32bit and 64bit)
猜你喜欢
[mainstream nivida graphics card deep learning / reinforcement learning /ai computing power summary]
redis主从中的Master自动选举之Sentinel哨兵机制
mmclassification 训练自定义数据
【PyTorch预训练模型修改、增删特定层】
Codeworks 5 questions per day (1700 average) - day 5
Wireless WiFi learning 8-channel transmitting remote control module
Seven ways to achieve vertical centering
【云原生 | Kubernetes篇】Ingress案例实战(十三)
[pytorch pre training model modification, addition and deletion of specific layers]
mysql拆分字符串做条件查询
随机推荐
II. Data type
Swift - add navigation bar
How to clear floating?
Swift - enables textview to be highly adaptive
Xi IO flow
Acid transaction theory
Matlab superpixels function (2D super pixel over segmentation of image)
Pytorch softmax regression
Linux安装部署LAMP(Apache+MySQL+PHP)
手机 CPU 架构类型了解
IPv6与IPv4的区别 网信办等三部推进IPv6规模部署
Redis master-slave mode
Seven polymorphisms
[deploy pytoch project through onnx using tensorrt]
【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
Riddle 1
什么是数字化存在?数字化转型要先从数字化存在开始
Yolov 5 Target Detection Neural Network - Loss Function Calculation Principle
Open3d European clustering
MVVM framework part I lifecycle