ucbug軟件站:安全、綠色、放心的專業(yè)下載站!首頁(yè)|最近更新|專題集合|標(biāo)簽云|站內(nèi)導(dǎo)航|加入收藏

Mysql 8.0.17 winx64版本安裝過(guò)程中遇到問(wèn)題解決方法

時(shí)間:2019-08-15 00:59:30人氣:0

一、手動(dòng)創(chuàng)建添加my ini文件 CLIENT SECTION ---------------------------------------------------------------------- The foll

一、手動(dòng)創(chuàng)建添加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]
# 設(shè)置mysql客戶端默認(rèn)字符集
default-character-set=utf8
[mysqld]
#權(quán)限問(wèn)題
# 設(shè)置3306端口
port = 3306

# 設(shè)置mysql的安裝目錄
basedir=C:\Program Files (x86)\mysql-8.0.17-winx64
# 設(shè)置mysql數(shù)據(jù)庫(kù)的數(shù)據(jù)的存放目錄
datadir=C:\Program Files (x86)\mysql-8.0.17-winx64\data
# 允許最大連接數(shù)max_connections=200
# 服務(wù)端使用的字符集默認(rèn)為8比特編碼的latin1字符集
character-set-server=utf8
# 創(chuàng)建新表時(shí)將使用的默認(rèn)存儲(chǔ)引擎
default-storage-engine=INNODB

二、8.0版本登錄出現(xiàn)Access denied for user 'root'@'localhost' (using password: YES)的解決方法