环境是win7 mysql5.6版本
测试下配置文件是否可用(之前没用过windows下的msyql配置)
修改配置前查询下:mysql> show variables like '%max_connections%'; +-----------------+-------+ | Variable_name | Value | +-----------------+-------+ | max_connections | 100 | +-----------------+-------+ 1 row in set
mysql> show variables like '%max_connections%'; +-----------------+-------+ | Variable_name | Value | +-----------------+-------+ | max_connections | 100 | +-----------------+-------+ 1 row in set
mysql> show variables like '%datadir%'; +---------------+-----------------------------+ | Variable_name | Value | +---------------+-----------------------------+ | datadir | D:\devsofts\mysqldata\data\ | +---------------+-----------------------------+ 1 row in set