当前位置:主页 > 数据库 > Mysql >

解决Mysql 8.0.17 winx64版本安装过程中遇到的问题

时间:2021-04-10 08:53:58 | 栏目:Mysql | 点击:

一、手动创建添加my.ini文件

# CLIENT SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by MySQL client applications.
# Note that only client applications shipped by MySQL are guaranteed
# to read this section. If you want your own MySQL client program to
# honor these values, you need to specify it as an option during the
# MySQL client library initialization.
#
[mysql]
# 设置mysql客户端默认字符集
default-character-set=utf8
[mysqld]
#权限问题
# 设置3306端口
port = 3306

# 设置mysql的安装目录
basedir=C:\Program Files (x86)\mysql-8.0.17-winx64
# 设置mysql数据库的数据的存放目录
datadir=C:\Program Files (x86)\mysql-8.0.17-winx64\data
# 允许最大连接数max_connections=200
# 服务端使用的字符集默认为8比特编码的latin1字符集
character-set-server=utf8
# 创建新表时将使用的默认存储引擎
default-storage-engine=INNODB

二、8.0版本登录出现Access denied for user 'root'@'localhost' (using password: YES)的解决方法

总结

您可能感兴趣的文章:

相关文章