1.環境變量設置、
MYSQL_HOME
D:\MySQL\mysql-5.6.23-winx64
然後在path中配置 %MYSQL_HOME%\bin;
2.my.ini 配置
basedir = D:\MySQL\mysql-5.6.23-winx64
datadir = D:\MySQL\mysql-5.6.23-winx64\data
port = 3306
character-set-server = utf8
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
3.如圖所示,mysql可以直接訪問,並可以實用客戶端進行通訊
剛剛測試了下,還要刷新下權限,flush privileges;