Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user

Matt Mower http://matt.blogs.it/

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

Looking for the MySQL socket

Irulan:~/Projects/MetaValues matt$ ps wwaux |grep mysql
root 220 0.0 0.2 27792 884 ?? S Tue12PM 0:00.04 /bin/sh ./bin/mysqld_safe --datadir=/usr/local/mysql/data --pid-file=/usr/local/mysql/data/Irulan.local.pid
mysql 239 0.0 1.2 62328 6328 ?? R Tue12PM 3:22.34 /usr/local/mysql/bin/mysqld --defaults-extra-file=/usr/local/mysql/data/my.cnf --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --pid-file=/usr/local/mysql/data/Irulan.local.pid

When in fact what we wanted was mysqladmin -p variables | grep socket
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed