1 [mysqld]
 2 ; 设置3306端口
 3 port=3306
 4 ; 设置mysql的安装目录
 5 basedir=D:/wamp64/bin/mysql/mysql8.0.11
 6 ; 设置mysql数据库的数据的存放目录
 7 datadir=D:/wamp64/bin/mysql/mysql8.0.11/data
 8 ; 允许最大连接数
 9 max_connections=200
10 ; 允许连接失败的次数。这是为了防止有人从该主机试图攻击数据库系统
11 max_connect_errors=10
12 ; 服务端使用的字符集默认为UTF8
13 character-set-server=utf8
14 ; 创建新表时将使用的默认存储引擎
15 default-storage-engine=INNODB
16 ; 默认使用“mysql_native_password”插件认证
17 default_authentication_plugin=mysql_native_password
18 [mysql]
19 ; 设置mysql客户端默认字符集
20 default-character-set=utf8
21 [client]
22 ; 设置mysql客户端连接服务端时默认使用的端口
23 port=3306
24 default-character-set=utf8

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2021-12-18
  • 2021-12-09
  • 2021-07-19
猜你喜欢
  • 2022-12-23
  • 2022-12-26
  • 2021-10-12
  • 2021-05-05
  • 2021-04-30
  • 2022-12-23
  • 2021-06-02
相关资源
相似解决方案