/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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