On Sun, 29 Mar 2020, Bill Cole wrote:

So there's a socket somewhere. To see where, try this:

lsof -U -a -p $( pgrep mysqld )

    Daves-MacBook-Pro:~ dave$ lsof -U -a -p $( pgrep mysqld )
    lsof: no process ID specified
    lsof 4.89
     latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
     latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
     latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
     usage: [-?abhlnNoOPRtUvV] [+|-c c] [+|-d s] [+D D] [+|-f[cgG]]
     [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+|-M] [-o [o]] [-p s]
     [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] 
[names]
    Use the ``-h'' option to get more help information.

What shell/lsof are you using?

Daves-MacBook-Pro:~ dave$ bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)
Copyright (C) 2007 Free Software Foundation, Inc.

-- Dave

Reply via email to