MySQL的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)的解決方法

https://blog.csdn.net/hunt_er/article/details/88037961


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM