Mysql安装: my.cnf参数文件

1.弄清my.cnf文件位置

/etc/mysql/mysql.conf.d . 或 通过find命令查找

2.哪个为配置文件:my.cnf或mysqld.cnf

ubuntu版:

mysqld.conf为参数配置文件 ,位置在/etc/mysql/mysql.conf.d/mysqld.conf

3.mysqld.cnf参数设置案例

主要有以下几块:

[client]代表客户端默认设置内容;

[mysql]代表我们使用mysql命令登录mysql数据库时的默认设置;

[mysqld]代表数据库自身的默认设置;

[mysqldump]代表数据库mysqldump工具,用于备份数据库

参数明细说明(5.7版):

https://www.cnblogs.com/gaoyuechen/p/10273102.html

猜你喜欢

转载自blog.csdn.net/helunqu2017/article/details/112482942