1. 程式人生 > 資料庫 >解決Mysql 8.0.17 winx64版本安裝過程中遇到的問題

解決Mysql 8.0.17 winx64版本安裝過程中遇到的問題

一、手動建立新增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)的解決方法

總結

以上所述是小編給大家介紹的Mysql 8.0.17 winx64版本安裝過程中遇到的問題,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回覆大家的。在此也非常感謝大家對我們網站的支援!
如果你覺得本文對你有幫助,歡迎轉載,煩請註明出處,謝謝!