Get MySQL variable from command line


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. my_print_defaults mysqld | grep socket | cut -d "=" -f 2

URL: http://code.openark.org/blog/mysql/how-not-to-test-that-mysqld-is-alive#comment-4461

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.