当前位置:网站首页>Mysql-8 download, installation and configuration tutorial under Windows
Mysql-8 download, installation and configuration tutorial under Windows
2022-06-27 07:42:00 【Doctor Ni】
One 、 download mysql database
Download from the official website MySQL Community version
Two 、 install mysql database
2.1 Unzip the installation file
2.2 To configure mysql:MySQL Edit under the installation directory of my.ini file
[mysqld]# Set the character set used by the server to utf-8character-set-server=utf8# binding IPv4 Address bind-address = 0.0.0.0# Set up mysql Port number port = 3306# Set up mysql Installation directory ( Can see bin that will do )basedir=D:\mysql8# Set up mysql Database data storage directory ( Can see my.ini File directory )datadir=D:\mysql8\data# Maximum connections allowed max_connections=2000# The default storage engine that will be used when creating a new table default-storage-engine=INNODB# Set up mysql And the default encoding of the database [mysql]default-character-set=utf8[mysql.server]default-character-set=utf8# Set client default character set [client]default-character-set=utf82.3 install mysql
- stay cmd The terminal uses the administrator to execute the installation command
# Installation command mysqld --install# Unload command mysqld --remove2.4 initialization mysql
# mysql Database initialization mysqld --initialize --user=root --console2.5 start-up / close mysql service
# start-up mysql service net start mysql# stop it mysql service net stop mysql2.6 Sign in mysql
mysql -uroot -p2.7 modify mysql Password
# Set up mysql Password set password = password(' password ');# sign out mysql database exit2.8 To configure mysql Environment variables of
1. ' This computer '-->' attribute '-->' Advanced system setup '-->' environment variable '2. Create a new system variable under the system variable Variable name :MYSQL_HOME A variable's value :D:\mysql8(MySQL Installation directory )3. stay path Add environment variable %MYSQL_HOME%\bin3、 ... and 、mysql Database add users
Create a new user and grant permissions
# Format specification grant jurisdiction on database . surface to user name @ Connected ip Address identified by' password ';# example , Give the code yes 1234 Of test All permissions of all tables of all databases of the user grant all on *.* to [email protected]'%' identified by'1234'边栏推荐
- IDEA连接数据库报错
- SQL attendance query interval: one hour
- File and multipartfile overview
- log4j:WARN No such property [zipPermission] in org.apache.log4j.RollingFileAppender.
- js成绩奖惩例题
- 语音信号处理-概念(一):时谱图(横轴:时间;纵轴:幅值)、频谱图(横轴:频率;纵轴:幅值)--傅里叶变换-->时频谱图【横轴:时间;纵轴:频率;颜色深浅:幅值】
- 请问如何在网页通过excel文件的形式向后段数据库添加数据
- 安装jenkins
- 【软件工程】山东大学软件工程复习提纲
- 使用 Blackbox Exporter 测试网络连通性
猜你喜欢
随机推荐
JDBC事务提交事例
移动安全工具-jad
使用 Blackbox Exporter 测试网络连通性
manim 数学引擎
log4j:WARN No such property [zipPermission] in org.apache.log4j.RollingFileAppender.
Speech synthesis: tacotron explains [end-to-end speech synthesis model] [compared with traditional speech synthesis, it does not have complex phonetics and acoustic feature modules, but only uses < te
安装jenkins
JDBC operation MySQL example
log4j:WARN No such property [zipPermission] in org. apache. log4j. RollingFileAppender.
Self test in the second week of major 4
洛谷刷题心得记录
闭包问题
cookie加密7 fidder分析阶段
The first part of the construction of the defense system of attack and defense exercise is the introduction and the four stages of Defense
Custom palette for ggplot2
R 语言Analyzing wine data
js用while循环计算假如投资多年的利率为5%,试求从1000块增长到5000块,需要花费多少年
js判断用户输入的数是否为质数(多种方法)
基础知识 | js基础
(resolved) NPM suddenly reports an error cannot find module 'd:\program files\nodejs\node_ modules\npm\bin\npm-cli. js‘









