TablePlus / DBngin

DB Engine
https://dbngin.com
995 stars 19 forks source link

How to see homebrew services in DBngin #73

Closed pleaz closed 2 years ago

pleaz commented 2 years ago

Please fill out the detail below, it helps me investigate the bug:

  1. Driver (Ex: PostgreSQL 10.0): homebrew

  2. DBngin build number: 4.0 (42)

  3. macOS version: 12.0.1 arm

  4. The steps to reproduce this issue:

I have installed homebrew with php-fpm and other services, but I can't see them in DBngin, it's not what I should expect here, but I saw that in many sceenshoots from other users

mpadev commented 2 years ago

I have the same issue, after moving to a new mac (12.1 arm). On my old mac there used to be a Homebrew services section

jamesclavel commented 2 years ago

+1 on this. Installed using homebrew MariaDB PHP7.4 (php-fpm) - all for ARM arch (m1 mac) - but can't see homebrew services. SequelAce can connect via localhost though.

vdhruv commented 2 years ago

+1 I am also not able to see homebrew services on M1 Pro.

Dectom commented 2 years ago

Same issue here, I have 2 friends that I got to install DBNgin and they both have it, I didn't know it was a feature until they Installed it :(

They are both Intel, I'm M1

LucaCassietti commented 2 years ago

+1 Any updates?

huyphams commented 2 years ago

Hi this issue has nothing to do with DBngin, if you have homebrew service installed on your macOS, you will see the homebrew section in the app.

vdhruv commented 2 years ago

@huyphams did you check with Apple Silicon mac?

huyphams commented 2 years ago

Hi @vdhruv I found the issue. gonna fix it now.

huyphams commented 2 years ago

Hi guys, please find the hot patch in the link below: https://www.dropbox.com/s/sz5xmnakr27n52o/DBngin.dmg?dl=0 Please let me know if you are still seeing the issue. Thank you!

vdhruv commented 2 years ago

Thank you @huyphams

Working now.

Dectom commented 2 years ago

When will this be merged into the app?

huyphams commented 2 years ago

Yes, please update to the newest release

liamseys commented 2 years ago

I see the services from Homebrew but they show as offline while PHP and Nginx are just running.

huyphams commented 2 years ago

Hi @liamseys could you run this command and tell me the result, please?

brew services list

liamseys commented 2 years ago

@huyphams It shows as status 'none', it only shows as started if I run it as root. This describes my issue:

https://github.com/laravel/valet/discussions/1146

liamseys commented 2 years ago
➜  ~ brew services list
Name    Status User File
dnsmasq none   root
nginx   none   root
php     none   root
huyphams commented 2 years ago

So I think this issue is a valet issue because it's using root. DBngin could not use root, so it is not possible to get the correct status.

wivaku commented 1 year ago

Using DBngin 6.2 and also not seeing any homebrew services on my M2 laptop. Everything is fine on my Intel based iMac.
Similar services list on both.

E.g. on my iMac:

Name    Status User File
caddy   none
dbus    none
dnsmasq none   root
mailhog none
mariadb none
nginx   none   root
php     none   root
php@8.1 none
unbound none

DBngin shows all of these on my iMac, also the root ones. And shows nothing on my M2 laptop.
Difference I can think of: for Apple silicon systems the homebrew root is /opt/home instead of /usr/local/.