How to find out the location of currently used MySQL configuration file in linux

前端 未结 7 552
慢半拍i
慢半拍i 2020-12-23 13:06

How do I know which configuration file is used by MySQL currently? Is there any command or something to find it out?

相关标签:
7条回答
  • 2020-12-23 14:13

    login to mysql with proper credential and used mysql>SHOW VARIABLES LIKE 'datadir'; that will give you path of where mysql stored

    0 讨论(0)
提交回复
热议问题