mysql --help|grep 'my.cnf'

[root@izm5e2q95pbpe1hh0kkwoiz ~]# mysql --help|grep 'my.cnf'
order of preference, my.cnf, $MYSQL_TCP_PORT,
/etc/mysql/my.cnf /etc/my.cnf ~/.my.cnf

mysql默认会搜寻my.cnf的目录,顺序排前的优先。

阿里云服务器mysql配置文件生效位置

/etc/my.cnf

参考

https://blog.csdn.net/qq_22227087/article/details/80946894

最新文章

  1. SQLSERVER单表CRUD通用方法
  2. Sicily 1215: 脱离地牢(BFS)
  3. 浅谈Excel开发:十一 针对64位Excel的插件的开发和部署
  4. Java 线程 — ScheduledThreadPoolExecutor
  5. Activity和Service的生命周期(图)
  6. [Spring Boot 系列] 集成maven和Spring boot的profile功能
  7. R语言学习笔记 之 可视化地研究参议员相似性
  8. Java类加载的时机
  9. php 抓取天气情况 www.weather.com.cn
  10. Device "/dev/sdg" is not a partition【再续】
  11. 树莓派Raspberry中成功安装RobotFramework+Selenium
  12. input的文件上传图片
  13. SVN分支/合并操作小记
  14. MySQL 各类日志文件介绍
  15. BZOJ5475 WC2019数树(prufer+容斥原理+树形dp+多项式exp)
  16. Python的虚拟环境virtualenv
  17. random os 序列化 模块模块 随机选择
  18. linux下php环境的装配以及php storm的链接
  19. Scala里面如何使用枚举
  20. mybatis的dao向mapper.xml传入多参数

热门文章

  1. Deep server from scratch
  2. ajax--->请求异常 jQuery提示parsererror错误解决办法
  3. Linux下安装nvidia显卡驱动
  4. SQLException:The server time zone
  5. virtualbox更新完无法启动的问题(不能为虚拟电脑 Ubuntu 打开一个新任务)
  6. qt客户端程序使用svg图片资源的几种方法
  7. 关于puremvc的几点思考
  8. 三、 TCP(传输控制协议)
  9. AI: 如何用钢笔工具画曲线
  10. TensorFlow 中的张量,图,会话