[mysqld] #设置3305端口 port = 3305 # set basedir to your installation path basedir=D:/devtoos/mysql/mysql-5.7.44-winx64 # set datadir to the location of your data directory datadir=D:/devtoos/mysql/mysql-5.7.44-winx64/data # 允许最大连接数 max_connections=200 # 服务端使用的字符集默认为8比特编码的latin1字符集 character-set-server=utf8mb4 # 创建新表时将使用的默认存储引擎 default-storage-engine=INNODB
[mysqld] #设置3306端口 port = 3306 # set basedir to your installation path basedir=D:/devtoos/mysql/mysql-8.4.4-winx64 # set datadir to the location of your data directory datadir=D:/devtoos/mysql/mysql-8.4.4-winx64/data # 允许最大连接数 max_connections=200 # 服务端使用的字符集默认为8比特编码的latin1字符集 character-set-server=utf8mb4 # 创建新表时将使用的默认存储引擎 default-storage-engine=INNODB