当前位置:网站首页>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
边栏推荐
- 自动化测试生命周期
- IPv6与IPv4的区别 网信办等三部推进IPv6规模部署
- A guide to threaded and asynchronous UI development in the "quick start fluent Development Series tutorials"
- Redis master-slave mode
- 图像超分实验:SRCNN/FSRCNN
- Pytorch softmax regression
- 谜语1
- 手机 CPU 架构类型了解
- Liunx prohibit Ping explain the different usage of traceroute
- Codeforces Round #804 (Div. 2)
猜你喜欢

What is digital existence? Digital transformation starts with digital existence

【yolov5.yaml解析】

【Win11 多用户同时登录远程桌面配置方法】
![[singleshotmultiboxdetector (SSD, single step multi frame target detection)]](/img/c7/8ad64582e09683818171b625769f37.png)
[singleshotmultiboxdetector (SSD, single step multi frame target detection)]
Automated test lifecycle
![[mainstream nivida graphics card deep learning / reinforcement learning /ai computing power summary]](/img/1a/dd7453bc5afc6458334ea08aed7998.png)
[mainstream nivida graphics card deep learning / reinforcement learning /ai computing power summary]

《增长黑客》阅读笔记

Check the debug port information in rancher and do idea remote JVM debug

Reinforcement learning - learning notes 3 | strategic learning

Yolov5 target detection neural network -- calculation principle of loss function
随机推荐
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
信息服务器怎么恢复,服务器数据恢复怎么弄[通俗易懂]
[loss functions of L1, L2 and smooth L1]
Time tools
[yolov3 loss function]
Hash tag usage in redis cluster
Troubleshooting of high memory usage of redis in a production environment
【Win11 多用户同时登录远程桌面配置方法】
Understanding the architecture type of mobile CPU
Open3d European clustering
pytorch-权重衰退(weight decay)和丢弃法(dropout)
《增长黑客》阅读笔记
leetcode:1200. Minimum absolute difference
yolov5目标检测神经网络——损失函数计算原理
MySQL splits strings for conditional queries
splunk配置163邮箱告警
一次生产环境redis内存占用居高不下问题排查
【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
Wireless WiFi learning 8-channel transmitting remote control module
[pytorch pre training model modification, addition and deletion of specific layers]