标签:var gen sam director innodb mic generate arc sys
D:\mysql\mysql-5.7.32-winx64
D:\mysql\mysql-5.7.32-winx64\my.ini
[client]
default-character-set=utf8
[mysqld]
# set basedir to your installation path
basedir=D:/mysql
# set datadir to the location of your data directory
datadir=D:/mysql/mysql-5.7.32-winx64/data
port=3306
character-set-server=utf8mb4
default-storage-engine=INNODB
MYSQL_HOME
D:\mysql\mysql-5.7.32-winx64
%MYSQL_HOME%\bin;
To make it easier to invoke MySQL programs, you can add the path name of the MySQL bin directory to your Windows system PATH environment variable.
You should not add the MySQL bin directory to your Windows PATH if you are running multiple MySQL servers on the same machine.
mysqld --initialize --console
A temporary password is generated for root@localhost: _=da(%D0z?&q
mysqld --console
mysql -u root -p
ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘2020‘;
Installing MySQL on Microsoft Windows Using a noinstall ZIP Archive
标签:var gen sam director innodb mic generate arc sys
原文地址:https://www.cnblogs.com/clipboard/p/14368656.html