Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1079488
  • 博文数量: 80
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 746
  • 用 户 组: 普通用户
  • 注册时间: 2018-06-12 20:01
个人简介

寫写code、调調bug、填填坑,僅此而已。

文章分类

全部博文(80)

文章存档

2019年(30)

2018年(50)

分类: Mysql/postgreSQL

2018-08-25 16:47:58

有时候修改my.cnf配置文件但是无法生效,可能原因是修改的并不是服务器读取的文件,如果不知道当前使用的配置文件路径,可以在终端输入如下命令:

liushiyi@liushiyiPC ~ $ which mysqld
/usr/sbin/mysqld
liushiyi@liushiyiPC ~ $ mysqld --verbose --help|grep -A 1 'Default options'
mysqld: One can only use the --user switch if running as root
180825 16:41:57 [Note] Plugin 'FEEDBACK' is disabled.
180825 16:41:57 [Warning] Could not open mysql.plugin table. Some options may be missing from the help text
Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf ~/.my.cnf
阅读(4808) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~