代碼: 選擇全部
ps -ax | grep mysql
45838 ?? 0:00.02 /bin/sh /usr/local/opt/mariadb/bin/mysqld_safe --bind-address=127.0.0.1 --datadir=/usr/local/var/mysql
45916 ?? 0:00.46 /usr/local/opt/mariadb/bin/mysqld --basedir=/usr/local/opt/mariadb --datadir=/usr/local/var/mysql --plugin-dir=/usr/local/opt/mariadb/lib/plugin --bind-address=127.0.0.1 --log-error=/usr/local/var/mysql/YehludeMacBook-Pro.local.err --pid-file=YehludeMacBook-Pro.local.pid
46102 ttys000 0:00.00 grep mysql