标签:内容 size win numbers 5.5 string code 基础 auto
[mysql]
# 设置mysql客户端默认字符集
default-character-set=utf8
[mysqld]
#设置3306端口
port = 3307
# 设置mysql的安装目录
basedir=D:\\dev\mysql\\mysql-5.6.39-winx64
# 设置mysql数据库的数据的存放目录
datadir=D:\\dev\mysql\\mysql-5.6.39-winx64\\data
# 允许最大连接数
max_connections=200
# 服务端使用的字符集默认为8比特编码的latin1字符集
character-set-server=utf8
# 创建新表时将使用的默认存储引擎
default-storage-engine=INNODB
[mysql]
# 设置mysql客户端默认字符集
default-character-set=utf8
[mysqld]
#设置3306端口
port = 3307
# 设置mysql的安装目录
basedir=D:\\dev\mysql\\mysql-5.6.39-winx64
# 设置mysql数据库的数据的存放目录
datadir=D:\\dev\mysql\\mysql-5.6.39-winx64\\data
# 允许最大连接数
max_connections=200
# 服务端使用的字符集默认为8比特编码的latin1字符集
character-set-server=utf8
# 创建新表时将使用的默认存储引擎
default-storage-engine=INNODB
D:\dev\mysql\mysql-5.6.39-winx64\bin\mysqld --initialize
D:\dev\mysql\mysql-5.6.39-winx64\bin\mysqld --initialize
D:\dev\mysql\mysql-5.6.39-winx64\binmysqld install mysql5_6
D:\dev\mysql\mysql-5.6.39-winx64\binmysqld install mysql5_6
net start mysql5_6
net start mysql5_6
D:\dev\mysql\mysql-5.6.39-winx64\bin\mysql -u root -p -P3307
D:\dev\mysql\mysql-5.6.39-winx64\bin\mysql -u root -p -P3307
use mysql;
UPDATE user SET Password = PASSWORD(‘root‘) WHERE user = ‘root‘;
FLUSH PRIVILEGES;
use mysql;
UPDATE user SET Password = PASSWORD(‘root‘) WHERE user = ‘root‘;
FLUSH PRIVILEGES;
标签:内容 size win numbers 5.5 string code 基础 auto
原文地址:https://www.cnblogs.com/zeng1994/p/10844971.html