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;
时间: 2024-11-06 17:23:07