Return to Snippet

Revision: 19280
at October 20, 2009 10:55 by kurokikaze


Updated Code
my_print_defaults mysqld | grep socket | cut -d "=" -f 2

Revision: 19279
at October 20, 2009 10:55 by kurokikaze


Initial Code
my_print_defaults mysqld | grep socket | cut -d “=” -f 2

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

Initial Description


Initial Title
Get MySQL variable from command line

Initial Tags
mysql

Initial Language
Bash