Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

MySQL ini file

  1. Feb 29, 2016 #1
    I found this before out on the interwebs, but alas can't find it today.

    How can you print the location of the .ini file that MySQL is using from the MySQL command line??
    Thanks,
    -Dave
     
  2. jcsd
  3. Feb 29, 2016 #2

    Borg

    User Avatar
    Gold Member

  4. Feb 29, 2016 #3
    Note quite,
    I thought there was a way you could use SHOW. Maybe I've found it but the setup I have here is different...

    Issue came when I installed a MySQL server, it put the executable in c:\program files\MySQL
    but the ini and data directories were in c:\Program Data\MySQL\

    Some how I used the command line to figure that out :)
     
  5. Feb 29, 2016 #4
    So yeah you can just do mysql --help and it will tell you in the middle of the wall of text it outputs :)
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: MySQL ini file
  1. Help with MySQL (Replies: 3)

  2. MySQL: schema, model (Replies: 1)

  3. Using aliases in MYSQL (Replies: 3)

  4. PF Forum, MySQL (Replies: 16)

Loading...